Error: Expected an integer type, actual='' -
--------------------------------------------

                 Key: PDFBOX-697
                 URL: https://issues.apache.org/jira/browse/PDFBOX-697
             Project: PDFBox
          Issue Type: Bug
          Components: Parsing
    Affects Versions: 1.1.0
         Environment: Windows XP
            Reporter: ik Glop


Hello,

The following exception is being thrown when attempting to parse a pdf document 
password protected using Adobe Acrobat 9 Pro:

Apr 7, 2010 2:53:22 PM org.apache.pdfbox.filter.FlateFilter decode
SEVERE: Stop reading corrupt stream
07-Apr-2010 14:53:22.829: WARNING: java.io.IOException: Error: Expected an 
integer type, actual=''
at org.apache.pdfbox.pdfparser.BaseParser.readInt(BaseParser.java:1275)
at 
org.apache.pdfbox.pdfparser.PDFObjectStreamParser.parse(PDFObjectStreamParser.java:81)
at 
org.apache.pdfbox.cos.COSDocument.dereferenceObjectStreams(COSDocument.java:449)
at org.apache.pdfbox.pdmodel.PDDocument.openProtection(PDDocument.java:1100)
at org.apache.pdfbox.pdmodel.PDDocument.decrypt(PDDocument.java:579)

I have the following libraries:

fontbox-1.1.0.jar
pdfbox-1.1.0.jar

Sample password protected file is attached.

Would appreciate if someone can help. 
Thank you

iglop




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

Reply via email to