[ 
https://issues.apache.org/jira/browse/PDFBOX-3553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr updated PDFBOX-3553:
------------------------------------
    Attachment: MyNIAID_Sprint1_ChangeRequestWires_20150422_R1-2.pdf
                MyNIAID_Sprint1_ChangeRequestWires_20150422_R1-1.pdf

The file is two PDF files glued together. I separated them.

> 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
>         Attachments: MyNIAID_Sprint1_ChangeRequestWires_20150422_R1-1.pdf, 
> MyNIAID_Sprint1_ChangeRequestWires_20150422_R1-2.pdf, 
> MyNIAID_Sprint1_ChangeRequestWires_20150422_R1.pdf
>
>
> 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

Reply via email to