Tilman Hausherr created PDFBOX-1679:
---------------------------------------

             Summary: java.io.IOException: Error: Expected an integer type, 
actual='f'
                 Key: PDFBOX-1679
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1679
             Project: PDFBox
          Issue Type: Bug
    Affects Versions: 2.0.0
         Environment: Windows XP
            Reporter: Tilman Hausherr


This was mentioned in PDFBOX-490 with a different problem, and there were 
similar issues that were closed for failure to bring an example. The file can 
be found at http://www.lavasurfer.com/100akerpathology.pdf

java.io.IOException: Error: Expected an integer type, actual='f'
        at org.apache.pdfbox.pdfparser.BaseParser.readInt(BaseParser.java:1640)
        at 
org.apache.pdfbox.pdfparser.BaseParser.readGenerationNumber(BaseParser.java:1612)
        at 
org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parseXrefObjStream(NonSequentialPDFParser.java:459)
        at 
org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:359)
        at 
org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:700)
        at org.apache.pdfbox.pdmodel.PDDocument.loadNonSeq(PDDocument.java:1254)
        at org.apache.pdfbox.pdmodel.PDDocument.loadNonSeq(PDDocument.java:1237)
        at pdfboxpageimageextraction.ExtractImages.doPdf(ExtractImages.java:83)
        at pdfboxpageimageextraction.ExtractImages.main(ExtractImages.java:67)

My call is 
document = PDDocument.loadNonSeq(new File(pdfFilename), null);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to