pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (PDFBOX-4618) When using a java.security.policy I get some strange output
Date Sat, 03 Aug 2019 09:21:00 GMT

     [ https://issues.apache.org/jira/browse/PDFBOX-4618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tilman Hausherr closed PDFBOX-4618.
-----------------------------------
       Resolution: Not A Problem
    Fix Version/s:     (was: 2.0.16)

> When using a java.security.policy I get some strange output
> -----------------------------------------------------------
>
>                 Key: PDFBOX-4618
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4618
>             Project: PDFBox
>          Issue Type: Improvement
>    Affects Versions: 2.0.16
>         Environment: Windows 10 home
>            Reporter: FJ Brandelik
>            Priority: Major
>
> See the error I get. The C:\PSFONTS directory is empty, and the permission to access
has been given... The document gets saved without problems but it is not a pretty output when
a 2 liner should suffice.
> Also telling that most Type1 fonts will be done as xyz fonts would be enough without
having  to print it for each line
> Aug 01, 2019 5:05:07 PM org.apache.pdfbox.pdmodel.font.FileSystemFontProvider <init>
> SEVERE: Error accessing the file system
> java.security.AccessControlException: access denied ("java.io.FilePermission" "C:\PSFONTS"
"read")
>         at java.security.AccessControlContext.checkPermission(Unknown Source)
>         at java.security.AccessController.checkPermission(Unknown Source)
>         at java.lang.SecurityManager.checkPermission(Unknown Source)
>         at java.lang.SecurityManager.checkRead(Unknown Source)
>         at java.io.File.exists(Unknown Source)
>         at org.apache.fontbox.util.autodetect.WindowsFontDirFinder.find(WindowsFontDirFinder.java:107)
>         at org.apache.fontbox.util.autodetect.FontFileFinder.find(FontFileFinder.java:76)
>         at org.apache.pdfbox.pdmodel.font.FileSystemFontProvider.<init>(FileSystemFontProvider.java:214)
>         at org.apache.pdfbox.pdmodel.font.FontMapperImpl$DefaultFontProvider.<clinit>(FontMapperImpl.java:128)
>         at org.apache.pdfbox.pdmodel.font.FontMapperImpl.getProvider(FontMapperImpl.java:147)
>         at org.apache.pdfbox.pdmodel.font.FontMapperImpl.findFont(FontMapperImpl.java:411)
>         at org.apache.pdfbox.pdmodel.font.FontMapperImpl.findFontBoxFont(FontMapperImpl.java:374)
>         at org.apache.pdfbox.pdmodel.font.FontMapperImpl.getFontBoxFont(FontMapperImpl.java:348)
>         at org.apache.pdfbox.pdmodel.font.PDType1Font.<init>(PDType1Font.java:146)
>         at org.apache.pdfbox.pdmodel.font.PDType1Font.<clinit>(PDType1Font.java:79)
>         at com.idi.mqmapper.ui.impl.ScanTableModel.writeTop(ScanTableModel.java:319)
>         at com.idi.mqmapper.ui.impl.ScanTableModel.writeSelectedScans(ScanTableModel.java:227)
>         at com.idi.mqmapper.ui.MQMapperUI.build_pdf(MQMapperUI.java:886)
>         at com.idi.mqmapper.ui.MQMapperUI.handle_toPDF(MQMapperUI.java:867)
>         at com.idi.mqmapper.ui.MQMapperUI.actionPerformed(MQMapperUI.java:836)
>         at javax.swing.JFileChooser.fireActionPerformed(Unknown Source)
>         at javax.swing.JFileChooser.approveSelection(Unknown Source)
>         at javax.swing.plaf.basic.BasicFileChooserUI$ApproveSelectionAction.actionPerformed(Unknown
Source)
>         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
>         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
>         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
>         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
>         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
>         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
>         at java.awt.Component.processMouseEvent(Unknown Source)
>         at javax.swing.JComponent.processMouseEvent(Unknown Source)
>         at java.awt.Component.processEvent(Unknown Source)
>         at java.awt.Container.processEvent(Unknown Source)
>         at java.awt.Component.dispatchEventImpl(Unknown Source)
>         at java.awt.Container.dispatchEventImpl(Unknown Source)
>         at java.awt.Component.dispatchEvent(Unknown Source)
>         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
>         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
>         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
>         at java.awt.Container.dispatchEventImpl(Unknown Source)
>         at java.awt.Window.dispatchEventImpl(Unknown Source)
>         at java.awt.Component.dispatchEvent(Unknown Source)
>         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
>         at java.awt.EventQueue.access$500(Unknown Source)
>         at java.awt.EventQueue$3.run(Unknown Source)
>         at java.awt.EventQueue$3.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
>         at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
>         at java.awt.EventQueue$4.run(Unknown Source)
>         at java.awt.EventQueue$4.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
>         at java.awt.EventQueue.dispatchEvent(Unknown Source)
>         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
>         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>         at java.awt.WaitDispatchSupport$2.run(Unknown Source)
>         at java.awt.WaitDispatchSupport$4.run(Unknown Source)
>         at java.awt.WaitDispatchSupport$4.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.awt.WaitDispatchSupport.enter(Unknown Source)
>         at java.awt.Dialog.show(Unknown Source)
>         at java.awt.Component.show(Unknown Source)
>         at java.awt.Component.setVisible(Unknown Source)
>         at java.awt.Window.setVisible(Unknown Source)
>         at java.awt.Dialog.setVisible(Unknown Source)
>         at com.idi.mqmapper.ui.MQMapperUI.set_toPDF(MQMapperUI.java:978)
>         at com.idi.mqmapper.ui.MQMapperUI.actionPerformed(MQMapperUI.java:830)
>         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
>         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
>         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
>         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
>         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
>         at java.awt.Component.processMouseEvent(Unknown Source)
>         at javax.swing.JComponent.processMouseEvent(Unknown Source)
>         at java.awt.Component.processEvent(Unknown Source)
>         at java.awt.Container.processEvent(Unknown Source)
>         at java.awt.Component.dispatchEventImpl(Unknown Source)
>         at java.awt.Container.dispatchEventImpl(Unknown Source)
>         at java.awt.Component.dispatchEvent(Unknown Source)
>         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
>         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
>         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
>         at java.awt.Container.dispatchEventImpl(Unknown Source)
>         at java.awt.Window.dispatchEventImpl(Unknown Source)
>         at java.awt.Component.dispatchEvent(Unknown Source)
>         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
>         at java.awt.EventQueue.access$500(Unknown Source)
>         at java.awt.EventQueue$3.run(Unknown Source)
>         at java.awt.EventQueue$3.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
>         at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
>         at java.awt.EventQueue$4.run(Unknown Source)
>         at java.awt.EventQueue$4.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
>         at java.awt.EventQueue.dispatchEvent(Unknown Source)
>         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
>         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
>         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>         at java.awt.EventDispatchThread.run(Unknown Source)
> Aug 01, 2019 5:05:07 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Times-Roman
> Aug 01, 2019 5:05:07 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Times-Bold
> Aug 01, 2019 5:05:07 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Times-Italic
> Aug 01, 2019 5:05:07 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Times-BoldItalic
> Aug 01, 2019 5:05:07 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Helvetica
> Aug 01, 2019 5:05:07 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Helvetica-Bold
> Aug 01, 2019 5:05:07 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Helvetica-Oblique
> Aug 01, 2019 5:05:07 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Helvetica-BoldOblique
> Aug 01, 2019 5:05:07 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Courier
> Aug 01, 2019 5:05:07 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Courier-Bold
> Aug 01, 2019 5:05:07 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Courier-Oblique
> Aug 01, 2019 5:05:07 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Courier-BoldOblique
> Aug 01, 2019 5:05:07 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Symbol
> Aug 01, 2019 5:05:07 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font ZapfDingbats



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org


Mime
View raw message