Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
2.0.7, 3.0.0 PDFBox
-
None
-
None
-
java version "1.8.0_144"
Description
We encounter the below exception while trying to process the attached documents.
All issues that produced a similar or same exception seemed to fixed in our version (2.0.7).
PDFs are scans of Canon iR-ADV C5250
java.lang.IllegalArgumentException: root cannot be null
at org.apache.pdfbox.pdmodel.PDPageTree.<init>(PDPageTree.java:75)
at org.apache.pdfbox.pdmodel.PDDocumentCatalog.getPages(PDDocumentCatalog.java:129)
at org.apache.pdfbox.pdmodel.PDDocument.getNumberOfPages(PDDocument.java:1398)