[
https://issues.apache.org/jira/browse/PDFBOX-4824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17103695#comment-17103695
]
Tilman Hausherr commented on PDFBOX-4824:
-----------------------------------------
Please try with the latest from
[https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-debugger/2.0.20-SNAPSHOT/]
and post the log messages. After that, end PDFDebugger, delete the file
".pdfbox.cache" in your user directory, and then try again and post the log
messages and tell whether the exception still happens.
If possible, please upload your font file.
> NullpointerException with PDFDebugger
> -------------------------------------
>
> Key: PDFBOX-4824
> URL: https://issues.apache.org/jira/browse/PDFBOX-4824
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.19
> Reporter: Stefano Padovan
> Priority: Major
> Attachments: pmc4531940.pdf
>
>
> the attached PDF is showing an exception when opened on PDFDebugger:
>
> {{java.lang.RuntimeException: java.util.concurrent.ExecutionException:
> java.lang.NullPointerException}}
> {{
> org.apache.pdfbox.debugger.pagepane.PagePane$RenderWorker.done(PagePane.java:434)}}
> {{ sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)}}
> {{ java.security.AccessController.doPrivileged(Native Method)}}
> {{
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)}}
> {{Caused by: java.util.concurrent.ExecutionException:
> java.lang.NullPointerException}}
> {{
> org.apache.pdfbox.debugger.pagepane.PagePane$RenderWorker.done(PagePane.java:414)}}
> {{ sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)}}
> {{ java.security.AccessController.doPrivileged(Native Method)}}
> {{
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)}}
> {{Caused by: java.lang.NullPointerException: null}}
> {{
> org.apache.pdfbox.pdmodel.font.PDCIDFontType2.codeToGID(PDCIDFontType2.java:267)}}
> {{
> org.apache.pdfbox.pdmodel.font.PDType0Font.codeToGID(PDType0Font.java:547)}}
> {{
> org.apache.pdfbox.rendering.TTFGlyph2D.getGIDForCharacterCode(TTFGlyph2D.java:101)}}
> {{
> org.apache.pdfbox.rendering.TTFGlyph2D.getPathForCharacterCode(TTFGlyph2D.java:92)}}
> {{ org.apache.pdfbox.rendering.PageDrawer.drawGlyph2D(PageDrawer.java:468)}}
> {{ org.apache.pdfbox.rendering.PageDrawer.showFontGlyph(PageDrawer.java:449)}}
> {{
> org.apache.pdfbox.contentstream.PDFStreamEngine.showGlyph(PDFStreamEngine.java:785)}}
> {{
> org.apache.pdfbox.contentstream.PDFStreamEngine.showText(PDFStreamEngine.java:741)}}
> {{
> org.apache.pdfbox.contentstream.PDFStreamEngine.showTextString(PDFStreamEngine.java:601)}}
> {{
> org.apache.pdfbox.contentstream.operator.text.ShowText.process(ShowText.java:56)}}
> {{
> org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:875)}}
> {{
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:509)}}
> {{
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:483)}}
> {{
> org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:156)}}
> {{ org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:270)}}
> {{ org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:321)}}
> {{
> org.apache.pdfbox.debugger.pagepane.PagePane$RenderWorker.doInBackground(PagePane.java:402)}}
> {{
> org.apache.pdfbox.debugger.pagepane.PagePane$RenderWorker.doInBackground(PagePane.java:384)}}
> {{ java.lang.Thread.run(Thread.java:745)}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]