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

Andreas Lehmkühler updated PDFBOX-3179:
---------------------------------------
    Fix Version/s: 2.0.0

> PDDocument.load() Error: Expected a long type at offset 2, instead got 
> 'DF-1.4'
> -------------------------------------------------------------------------------
>
>                 Key: PDFBOX-3179
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3179
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.0
>         Environment: Mac OS X 10.10.5
>            Reporter: Jedrzej Majko
>            Assignee: Andreas Lehmkühler
>             Fix For: 2.0.0
>
>
> Simple PDDocument.load failed to heal attached PDF (pdfbox 2.0.0 RC2):
> Exception in thread "main" java.io.IOException: Error: Expected a long type 
> at offset 2, instead got 'DF-1.4'
>       at org.apache.pdfbox.pdfparser.BaseParser.readLong(BaseParser.java:1340)
>       at 
> org.apache.pdfbox.pdfparser.BaseParser.readObjectNumber(BaseParser.java:1268)
>       at 
> org.apache.pdfbox.pdfparser.COSParser.parseXrefObjStream(COSParser.java:321)
>       at org.apache.pdfbox.pdfparser.COSParser.parseXref(COSParser.java:287)
>       at 
> org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:189)
>       at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:246)
>       at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:855)
>       at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:811)
>       at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:765)
> Reproduced using 2.0.0 RC2 from maven and with code from trunk svn.
> File in question:
> http://coobers.com/bucket/ikona_free.pdf



--
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