[
https://issues.apache.org/jira/browse/PDFBOX-3949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16189624#comment-16189624
]
ASF subversion and git services commented on PDFBOX-3949:
---------------------------------------------------------
Commit 1810995 from [~lehmi] in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1810995 ]
PDFBOX-3949: avoid NPE, skip incomplete streams
> NPE in bfSearchForObjStreams
> ----------------------------
>
> Key: PDFBOX-3949
> URL: https://issues.apache.org/jira/browse/PDFBOX-3949
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.8
> Reporter: Tilman Hausherr
> Assignee: Andreas Lehmkühler
> Labels: regression
> Attachments: MKFYUGZWS3OPXLLVU2Z4LWCTVA5WNOGF.pdf
>
>
> {code}
> java.lang.NullPointerException: null
>
> org.apache.pdfbox.pdfparser.COSParser.bfSearchForObjStreams(COSParser.java:1738)
>
> 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 in 39 files.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]