[
https://issues.apache.org/jira/browse/PDFBOX-2354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr closed PDFBOX-2354.
-----------------------------------
Resolution: Invalid
The file is most probably broken and here's why:
- I first traced to find out which object has the problem. It is "97 0 obj".
- I then traced to see whether the object is decrypted. Yes, it is.
- I traced to see which other objects have the problem. Yes: 108, 115, 123,
129, 133, 171, 196, 204, 223. All these objects are streams with length 7.
- I then ran qpdf with the file. It brings this error message:
(file position 160266): error decoding stream data for object 108 0:
stream inflate: inflate: data: incorrect header check
stream inflate: inflate: data: incorrect header check
> DataFormatException: incorrect header check
> -------------------------------------------
>
> Key: PDFBOX-2354
> URL: https://issues.apache.org/jira/browse/PDFBOX-2354
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.0
> Reporter: simon steiner
>
> http://svn.apache.org/viewvc/incubator/pdfbox/trunk/test/input/601501018.pdf?revision=682412&view=co&pathrev=793348
> java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar
> WriteDecodedDoc -nonSeq 601501018.pdf
> java.util.zip.DataFormatException: incorrect header check
> at org.apache.pdfbox.filter.FlateFilter.decode(FlateFilter.java:83)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)