Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4868

DataFormatExceptionjava.io.IOException: java.util.zip.DataFormatException: invalid block

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.19
    • Fix Version/s: None
    • Component/s: Rendering
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dbalasub Dushyanth Balasubramanian
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: