Description
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
Attachments
Attachments
Issue Links
- is duplicated by
-
PDFBOX-872 ERROR org.apache.pdfbox.filter.FlateFilter - Stop reading corrupt stream
- Closed
- is related to
-
PDFBOX-730 Basic implementation of Crypt filter
- Closed
- relates to
-
PDFBOX-797 NPE in PDPageNode
- Closed