Description
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);