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

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

simon steiner created PDFBOX-2238:
-------------------------------------

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


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)