expected='obj' actual='o' error while parsing the attached PDF
--------------------------------------------------------------

                 Key: PDFBOX-773
                 URL: https://issues.apache.org/jira/browse/PDFBOX-773
             Project: PDFBox
          Issue Type: Bug
          Components: Parsing
    Affects Versions: 1.2.0, 1.3.0
         Environment: Sun JDK 6u21, Windows 7 x86
            Reporter: Marin Nozhchev
         Attachments: Andersens_Fairy_Tales.zip

Parsing the attached PDF fails with the following error:

Caused by: java.io.IOException: expected='obj' actual='o' 
org.apache.pdfbox.io.pushbackinputstr...@11d75b9
        at org.apache.pdfbox.pdfparser.PDFParser.parseObject(PDFParser.java:509)
        at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:179)
        at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:859)
        at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:826)
        ...

The same errors appears with the 1.1, 1.2 releases and the 1.3 latest trunk so 
far - svn rev. 962879 .

The file opens with warning or any visible issues in the latest versions of 
Foxit Reader and Acrobat Reader on Windows. The parsing was done via the Apache 
Tika Parser.

Thank you

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to