You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2018/03/23 17:23:00 UTC
[jira] [Resolved] (PDFBOX-4164) NPE in PDFDebugger when expanding
page subtree
[ https://issues.apache.org/jira/browse/PDFBOX-4164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr resolved PDFBOX-4164.
-------------------------------------
Resolution: Fixed
> 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org