Seva Alekseyev created PDFBOX-3553: -------------------------------------- Summary: IOException "Expected root dictionary, but got this: COSInt{971}" on a valid PDF Key: PDFBOX-3553 URL: https://issues.apache.org/jira/browse/PDFBOX-3553 Project: PDFBox Issue Type: Bug Components: Parsing Affects Versions: 2.0.3 Environment: Windows 7 x64, JVM 1.8.0_101 Reporter: Seva Alekseyev
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) -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org