You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2017/10/02 20:48:01 UTC

[jira] [Created] (PDFBOX-3948) NumberFormatException in bfSearchForObjStreams

Tilman Hausherr created PDFBOX-3948:
---------------------------------------

             Summary: NumberFormatException in bfSearchForObjStreams
                 Key: PDFBOX-3948
                 URL: https://issues.apache.org/jira/browse/PDFBOX-3948
             Project: PDFBox
          Issue Type: Bug
          Components: Parsing
    Affects Versions: 2.0.8
            Reporter: Tilman Hausherr
         Attachments: EUWO6SQS5TM4VGOMRD3FLXZHU35V2CP2.pdf

{code}
java.lang.NumberFormatException: For input string: "245
89"
    java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    java.lang.Long.parseLong(Long.java:589)
    java.lang.Long.parseLong(Long.java:631)
    org.apache.pdfbox.pdfparser.COSParser.bfSearchForObjStreams(COSParser.java:1766)
    org.apache.pdfbox.pdfparser.COSParser.bfSearchForObjects(COSParser.java:1529)
    org.apache.pdfbox.pdfparser.COSParser.getBFCOSObjectOffsets(COSParser.java:1445)
    org.apache.pdfbox.pdfparser.COSParser.rebuildTrailer(COSParser.java:1905)
{code}
This worked in 2.0.7. The exception happens with only 2 files from the tests by Tim.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org