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

Tilman Hausherr updated PDFBOX-3662:
------------------------------------
    Description: 
This file was parsed correctly in old versions, both 1.8.* and 2.0.2

In 2.0.4 parsing gets an Exception

 at org.apache.pdfbox.pdfparser.COSParser.parseXref(COSParser.java:320)
     org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:194)

which is apparently due to the change for PDFBOX-3446.

This file clearly has something amiss, re-saving it from Acrobat makes the 
problem go away.  But it was working fine in the older versions.  FWIW the file 
was redacted by an unknown PDF editor in January 2015.

  was:
This file was parsed correctly in old versions, both 1.8.* and 2.0.2

In 2.0.4 parsing gets an Exception

 at org.apache.pdfbox.pdfparser.COSParser.parseXref(COSParser.java:320)
     org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:194)

which is apparently due to the change for 3446.

This file clearly has something amiss, re-saving it from Acrobat makes the 
problem go away.  But it was working fine in the older versions.  FWIW the file 
was redacted by an unknown PDF editor in January 2015.


> Regression on this file as a result of PDFBOX-3446 fix
> ------------------------------------------------------
>
>                 Key: PDFBOX-3662
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3662
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.4
>            Reporter: Joel Hirsh
>         Attachments: pdfbox regression.pdf
>
>
> This file was parsed correctly in old versions, both 1.8.* and 2.0.2
> In 2.0.4 parsing gets an Exception
>  at org.apache.pdfbox.pdfparser.COSParser.parseXref(COSParser.java:320)
>      org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:194)
> which is apparently due to the change for PDFBOX-3446.
> This file clearly has something amiss, re-saving it from Acrobat makes the 
> problem go away.  But it was working fine in the older versions.  FWIW the 
> file was redacted by an unknown PDF editor in January 2015.



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