Dushyanth Balasubramanian created PDFBOX-4868:
-------------------------------------------------

             Summary: DataFormatExceptionjava.io.IOException: 
java.util.zip.DataFormatException: invalid block
                 Key: PDFBOX-4868
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4868
             Project: PDFBox
          Issue Type: Bug
          Components: Rendering
    Affects Versions: 2.0.19
            Reporter: Dushyanth Balasubramanian


ERROR [FlateFilter] FlateFilter: stop reading corrupt stream due to a 
DataFormatExceptionjava.io.IOException: java.util.zip.DataFormatException: 
invalid block type at 
org.apache.pdfbox.filter.FlateFilter.decode(FlateFilter.java:58) at 
org.apache.pdfbox.filter.Filter.decode(Filter.java:87) at 
org.apache.pdfbox.cos.COSInputStream.create(COSInputStream.java:84) at 
org.apache.pdfbox.cos.COSStream.createInputStream(COSStream.java:246) at 
org.apache.pdfbox.cos.COSStream.createInputStream(COSStream.java:234) at 
org.apache.pdfbox.pdmodel.PDPage.getContents(PDPage.java:157) at 
org.apache.pdfbox.pdfparser.PDFStreamParser.<init>(PDFStreamParser.java:92) at 
org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:499)
 at 
org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:483)
 at 
org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:156)
 at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:270) at 
org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:321) at 
org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:243) at 
org.apache.pdfbox.rendering.PDFRenderer.renderImageWithDPI(PDFRenderer.java:229)
Caused by: java.util.zip.DataFormatException: invalid block type 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:83) at 
org.apache.pdfbox.filter.FlateFilter.decode(FlateFilter.java:50) ... 41 more



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to