You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Stefano Padovan (Jira)" <ji...@apache.org> on 2020/05/11 08:15:00 UTC

[jira] [Updated] (PDFBOX-4824) NullpointerException with PDFDebugger

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

Stefano Padovan updated PDFBOX-4824:
------------------------------------
    Attachment: LastResort.otf

> 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: LastResort.otf, 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org