Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Duplicate
-
2.0.31
-
None
-
None
Description
Starting with version 2.0.31 (version 2.0.30 is not affected) some PDFs result in the following exception to be thrown:
java.lang.NullPointerException: Cannot invoke "org.apache.pdfbox.pdmodel.PDPage.getCOSObject()" because the return value of "org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageDestination.getPage()" is null at org.apache.pdfbox.multipdf.Splitter.fixDestinations(Splitter.java:153) at org.apache.pdfbox.multipdf.Splitter.split(Splitter.java:136) at ...
For instance it happens with the following PDF file: https://ptgmedia.pearsoncmg.com/images/9780132350884/samplepages/9780132350884.pdf
Attachments
Issue Links
- duplicates
-
PDFBOX-5792 Regression NPE in Splitter
- Closed