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: [email protected]
For additional commands, e-mail: [email protected]