You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/07/24 21:32:38 UTC

[jira] [Closed] (PDFBOX-2238) DataFormatException: incorrect header check

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

Tilman Hausherr closed PDFBOX-2238.
-----------------------------------

    Resolution: Not a Problem
      Assignee: Tilman Hausherr

use the -nonSeq option and it works. 

> DataFormatException: incorrect header check
> -------------------------------------------
>
>                 Key: PDFBOX-2238
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2238
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.0
>            Reporter: simon steiner
>            Assignee: Tilman Hausherr
>
> PDF from PDFBOX-186
> java -cp lib/levigo-jbig2-imageio-1.6.0.jar:lib/jai_imageio.jar:pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar org.apache.pdfbox.tools.WriteDecodedDoc PwC-Tech-Forecast-Spring-2009.pdf
> Exception in thread "main" java.io.IOException: java.util.zip.DataFormatException: incorrect header check
> 	at org.apache.pdfbox.filter.FlateFilter.decode(FlateFilter.java:83)
> 	at org.apache.pdfbox.cos.COSStream.doDecode(COSStream.java:365)
> 	at org.apache.pdfbox.cos.COSStream.doDecode(COSStream.java:278)
> 	at org.apache.pdfbox.cos.COSStream.getUnfilteredStream(COSStream.java:189)
> 	at org.apache.pdfbox.tools.WriteDecodedDoc.doIt(WriteDecodedDoc.java:121)
> 	at org.apache.pdfbox.tools.WriteDecodedDoc.main(WriteDecodedDoc.java:192)
> Caused by: java.util.zip.DataFormatException: incorrect header check
> 	at java.util.zip.Inflater.inflateBytes(Native Method)
> 	at java.util.zip.Inflater.inflate(Inflater.java:259)
> 	at java.util.zip.Inflater.inflate(Inflater.java:280)
> 	at org.apache.pdfbox.filter.FlateFilter.decompress(FlateFilter.java:101)
> 	at org.apache.pdfbox.filter.FlateFilter.decode(FlateFilter.java:65)
> 	... 5 more



--
This message was sent by Atlassian JIRA
(v6.2#6252)