You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Maruan Sahyoun (JIRA)" <ji...@apache.org> on 2010/06/02 16:49:41 UTC

[jira] Issue Comment Edited: (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=12874594#action_12874594 ] 

Maruan Sahyoun edited comment on PDFBOX-697 at 6/2/10 10:47 AM:
----------------------------------------------------------------

There was a change from Acrobat 8 and earlier to 9. 9 uses a SHA256 algortihm.

see http://www.adobe.com/devnet/acrobat/pdfs/adobe_supplement_iso32000.pdf page 10

      was (Author: msahyoun):
    There was a change from Acrobat 8 and earlier to 9. 9 uses a SHA256 algortihm.
  
> 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.