You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2014/01/04 18:58:50 UTC

[jira] [Resolved] (PDFBOX-1679) java.io.IOException: Error: Expected an integer type, actual='f'

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

Andreas Lehmkühler resolved PDFBOX-1679.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.8.4
         Assignee: Andreas Lehmkühler

The issue is gone, I guess due to the self-healing XRef parser introduced in PDFBOX-1769.

> 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
>            Assignee: Andreas Lehmkühler
>             Fix For: 1.8.4, 2.0.0
>
>         Attachments: 100akerpathology.pdf
>
>
> 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 was sent by Atlassian JIRA
(v6.1.5#6160)