Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.3
-
None
-
Windows 7 x64, JVM 1.8.0_101
Description
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)