You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Seva Alekseyev (JIRA)" <ji...@apache.org> on 2016/11/03 14:49:59 UTC

[jira] [Created] (PDFBOX-3553) IOException "Expected root dictionary, but got this: COSInt{971}" on a valid PDF

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-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org