[
https://issues.apache.org/jira/browse/PDFBOX-4164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16411746#comment-16411746
]
ASF subversion and git services commented on PDFBOX-4164:
---------------------------------------------------------
Commit 1827586 from [~tilman] in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1827586 ]
PDFBOX-4164: avoid NPE
> NPE in PDFDebugger when expanding page subtree
> ----------------------------------------------
>
> Key: PDFBOX-4164
> URL: https://issues.apache.org/jira/browse/PDFBOX-4164
> Project: PDFBox
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 2.0.8, 2.0.9
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Major
> Fix For: 2.0.10, 3.0.0 PDFBox
>
>
> When clicking on "+" to show a page from the file from
> https://github.com/mozilla/pdf.js/issues/9597 :
> {code}
> java.lang.NullPointerException: null
>
> org.apache.pdfbox.debugger.ui.PDFTreeCellRenderer.toTreePostfix(PDFTreeCellRenderer.java:214)
>
> org.apache.pdfbox.debugger.ui.PDFTreeCellRenderer.toTreeObject(PDFTreeCellRenderer.java:121)
>
> org.apache.pdfbox.debugger.ui.PDFTreeCellRenderer.getTreeCellRendererComponent(PDFTreeCellRenderer.java:77)
> java.security.AccessController.doPrivileged(Native Method)
>
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
> java.security.AccessController.doPrivileged(Native Method)
>
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
> {code}
> The cause is a broken PDF with a /Subtype that is not a name. I'll fix that
> and do the same for /Type.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]