You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2010/12/07 07:49:08 UTC

[jira] Resolved: (PDFBOX-231) using java 1.5/1.4 getting unknown compression error

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

Jukka Zitting resolved PDFBOX-231.
----------------------------------

    Resolution: Incomplete

No test document available.

> using java 1.5/1.4 getting unknown compression error
> ----------------------------------------------------
>
>                 Key: PDFBOX-231
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-231
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDFReader
>            Priority: Minor
>
> [imported from SourceForge]
> http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1630939
> Originally submitted by code_slave on 2007-01-08 14:02.
> when expanding a pdf file  I am getting the folowing error on expansion, even though the pdf opens fine in every other tool.
> java.util.zip.ZipException: unknown compression method
> java.util.zip.InflaterInputStream:140>> read()--------->InflaterInputStream.java
> org.pdfbox.filter.FlateFilter:97>> decode()--------->FlateFilter.java
> org.pdfbox.cos.COSStream:290>> doDecode()--------->COSStream.java
> org.pdfbox.cos.COSStream:235>> doDecode()--------->COSStream.java
> org.pdfbox.cos.COSStream:170>> getUnfilteredStream()--------->COSStream.java
> org.pdfbox.pdfparser.PDFStreamParser:101>> <init>()--------->PDFStreamParser.java
> org.pdfbox.cos.COSStream:132>> getStreamTokens()--------->COSStream.java
> org.pdfbox.util.PDFStreamEngine:202>> processSubStream()--------->PDFStreamEngine.java
> org.pdfbox.util.PDFStreamEngine:174>> processStream()--------->PDFStreamEngine.java
> org.pdfbox.pdfviewer.PageDrawer:105>> drawPage()--------->PageDrawer.java
> org.pdfbox.pdmodel.PDPage:657>> convertToImage()--------->PDPage.java
> VFW.Viewers.visualDocumentViewer:632>> recoverimagefromdb()--------->visualDocumentViewer.java
> VFW.Viewers.visualDocumentViewer:86>> mav$recoverimagefromdb()--------->visualDocumentViewer.java
> VFW.Viewers.visualDocumentViewer$1:688>> run()--------->visualDocumentViewer.java
> java.awt.event.InvocationEvent:189>> dispatch()--------->InvocationEvent.java
> java.awt.EventQueue:478>> dispatchEvent()--------->EventQueue.java
> java.awt.EventDispatchThread:234>> pumpOneEventForHierarchy()--------->EventDispatchThread.java
> java.awt.EventDispatchThread:184>> pumpEventsForHierarchy()--------->EventDispatchThread.java
> java.awt.EventDispatchThread:178>> pumpEvents()--------->EventDispatchThread.java
> java.awt.EventDispatchThread:170>> pumpEvents()--------->EventDispatchThread.java
> java.awt.EventDispatchThread:100>> run()--------->EventDispatchThread.java
> [comment on SourceForge]
> Originally sent by nobody.
> Logged In: NO 
> O.K I have tracked it to encrypted pdf.
> If the master password is set , but the pdf document allows various  access options, it appears the code does not clearly check the options & calls decompression of sections that are encrypted, hence the error.
> I can be fixed by tightning up on the code checking the "security" flags

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.