Seva Alekseyev created PDFBOX-3556:
--------------------------------------

             Summary: Error "Error getting header version: %PDF--33" on a valid 
document
                 Key: PDFBOX-3556
                 URL: https://issues.apache.org/jira/browse/PDFBOX-3556
             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: ApproveIt 2 page data sheet.pdf

On the attached document, which opens fine in Adobe Reader, the 
PDDocument.load() method throws the following error:

java.io.IOException: Error getting header version: %PDF--33
        at 
org.apache.pdfbox.pdfparser.COSParser.parseHeader(COSParser.java:1935)
        at 
org.apache.pdfbox.pdfparser.COSParser.parsePDFHeader(COSParser.java:1853)
        at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:245)
        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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to