[
https://issues.apache.org/jira/browse/PDFBOX-4824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17103180#comment-17103180
]
Tilman Hausherr edited comment on PDFBOX-4824 at 5/9/20, 7:53 AM:
------------------------------------------------------------------
Are there any log messages in the log window? To see these, click on the status
line on the right if it has a text like "2 warnings".
was (Author: tilman):
Are the any log messages in the log window? To see these, click on the status
line on the right if it has a text like "2 warnings".
> 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]