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

Exception in thread "main" java.util.zip.ZipException: unknown compression method

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Exception in thread "main" java.util.zip.ZipException: unknown compression method
      at java.util.zip.InflaterInputStream.read(Unknown Source)
      at org.pdfbox.filter.FlateFilter.decode(FlateFilter.java:97)
      at org.pdfbox.cos.COSStream.doDecode(COSStream.java:290)
      at org.pdfbox.cos.COSStream.doDecode(COSStream.java:243)
      at org.pdfbox.cos.COSStream.getUnfilteredStream(COSStream.java:170)
      at org.pdfbox.pdmodel.common.PDStream.createInputStream(PDStream.java:226)
      at org.pdfbox.pdmodel.common.PDStream.getByteArray(PDStream.java:481)
      at org.pdfbox.pdmodel.graphics.xobject.PDPixelMap.getRGBImage(PDPixelMap.java:138)
      at com.phani.PDFTextParser.read_pdf(PDFTextParser.java:143)
      at com.phani.PDFTextParser.main(PDFTextParser.java:108)

        Activity

        Hide
        lehmi Andreas Lehmkühler added a comment -

        Can you provide us with a sample pdf, please?

        Show
        lehmi Andreas Lehmkühler added a comment - Can you provide us with a sample pdf, please?
        Hide
        pjanapati phani kumar janapati added a comment -

        On Wed, Feb 22, 2012 at 5:45 PM, Andreas Lehmkühler (Commented) (JIRA) <

        Regards,
        Phani Kumar
        8099527537

        Show
        pjanapati phani kumar janapati added a comment - On Wed, Feb 22, 2012 at 5:45 PM, Andreas Lehmkühler (Commented) (JIRA) < – Regards, Phani Kumar 8099527537
        Hide
        lehmi Andreas Lehmkühler added a comment -

        I can't confirm the described behaviour. It works fine using PDFReader and ExtractImage. I've tried every version from 1.2.1 up to the current trunk.

        Which version of PDFBox are you using?

        Show
        lehmi Andreas Lehmkühler added a comment - I can't confirm the described behaviour. It works fine using PDFReader and ExtractImage. I've tried every version from 1.2.1 up to the current trunk. Which version of PDFBox are you using?
        Hide
        jahewson John Hewson added a comment -

        Closing due to inability to reproduce.

        Show
        jahewson John Hewson added a comment - Closing due to inability to reproduce.

          People

          • Assignee:
            Unassigned
            Reporter:
            pjanapati phani kumar janapati
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development