You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Martijn Brinkers (JIRA)" <ji...@apache.org> on 2010/11/21 22:59:13 UTC
[jira] Commented: (PDFBOX-697) Error: Expected an integer type,
actual='' -
[ https://issues.apache.org/jira/browse/PDFBOX-697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12934360#action_12934360 ]
Martijn Brinkers commented on PDFBOX-697:
-----------------------------------------
With the AES patch for https://issues.apache.org/jira/browse/PDFBOX-872 I was able to open sample_password_BRILD.pdf.
gridBase 014.pdf however seems to be a different problem. This file seems not to be encrypted. There is some other problem on which the parser chokes.
> 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
> Attachments: gridBase 014.pdf, sample_password_BRILD.pdf
>
>
> 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.