[
https://issues.apache.org/jira/browse/PDFBOX-3950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16223405#comment-16223405
]
ASF subversion and git services commented on PDFBOX-3950:
---------------------------------------------------------
Commit 1813602 from [~tilman] in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1813602 ]
PDFBOX-3950: be lenient if resource is missing
> NPE in PageIterator.enqueueKids
> -------------------------------
>
> Key: PDFBOX-3950
> URL: https://issues.apache.org/jira/browse/PDFBOX-3950
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.8
> Reporter: Tilman Hausherr
> Assignee: Andreas Lehmkühler
> Labels: regression
> Fix For: 2.0.8, 3.0.0
>
> Attachments: 23EGDHXSBBYQLKYOKGZUOVYVNE675PRD.pdf,
> 6MNJMPJVZMZRSTE5A4ENHP3F5SIOG27T.pdf
>
>
> {code}
> Exception in thread "main" java.lang.NullPointerException
> at java.util.ArrayDeque.addLast(ArrayDeque.java:244)
> at java.util.ArrayDeque.add(ArrayDeque.java:418)
> at
> org.apache.pdfbox.pdmodel.PDPageTree$PageIterator.enqueueKids(PDPageTree.java:178)
> at
> org.apache.pdfbox.pdmodel.PDPageTree$PageIterator.enqueueKids(PDPageTree.java:173)
> at
> org.apache.pdfbox.pdmodel.PDPageTree$PageIterator.<init>(PDPageTree.java:159)
> at
> org.apache.pdfbox.pdmodel.PDPageTree$PageIterator.<init>(PDPageTree.java:153)
> at org.apache.pdfbox.pdmodel.PDPageTree.iterator(PDPageTree.java:123)
> at
> org.apache.pdfbox.text.PDFTextStripper.processPages(PDFTextStripper.java:282)
> {code}
> This worked in 2.0.7. There are about 200 occurences of this exception in 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]