Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.3
-
None
-
Windows 7 x64, JVM 1.8.0_101
Description
On the attached PDF document, which opens fine with Adobe Reader, the PDDocument.load() method throws the following error:
java.io.IOException: Expected root dictionary, but got this: COSInt
{971} at org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:206)
at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:252)
at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:957)
at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:913)
at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:861)