You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2012/05/18 17:19:08 UTC

[jira] [Resolved] (PDFBOX-697) Error: Expected an integer type, actual='' -

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

Andreas Lehmkühler resolved PDFBOX-697.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.0
         Assignee: Andreas Lehmkühler

gridBase 014.pdf works like a charm using the new non sequential parser, see PDFBOX-1199 for further details.

Set to resolved
                
> 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
>            Assignee: Andreas Lehmkühler
>              Labels: pdfbox
>             Fix For: 1.7.0
>
>         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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira