Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.8, 2.0.9
-
None
Description
When clicking on "+" to show a page from the file from
https://github.com/mozilla/pdf.js/issues/9597 :
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)
The cause is a broken PDF with a /Subtype that is not a name. I'll fix that and do the same for /Type.