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

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

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

The attached pdf works fine with the current trunk version (revision 1339254) 
without any further "tricks". The excpetion no longer appears.

Set to resolved.
                
> Expected an integer type, actual='Active'
> -----------------------------------------
>
>                 Key: PDFBOX-980
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-980
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>            Reporter: Franck Valentin
>            Assignee: Andreas Lehmkühler
>             Fix For: 1.7.0
>
>         Attachments: prot_dna_long.pdf
>
>
> Hi,
> When I try to parse the file I've attached (prot_dna_long.pdf)
> I get the following exception:
> Caused by: java.io.IOException: Error: Expected an integer type, 
> actual='Active'
>         at 
> org.apache.pdfbox.pdfparser.BaseParser.readInt(BaseParser.java:1384) 
> ~[ebinocle-indexer-1.0-SNAPSHOT-jar-with-dependencies.jar:na]
>         at 
> org.apache.pdfbox.pdfparser.PDFParser.parseObject(PDFParser.java:507) 
> ~[ebinocle-indexer-1.0-SNAPSHOT-jar-with-dependencies.jar:na]
>         at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:180) 
> ~[ebinocle-indexer-1.0-SNAPSHOT-jar-with-dependencies.jar:na]
>         at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:862) 
> ~[ebinocle-indexer-1.0-SNAPSHOT-jar-with-dependencies.jar:na]
>         at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:829) 
> ~[ebinocle-indexer-1.0-SNAPSHOT-jar-with-dependencies.jar:na]

--
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


Reply via email to