[ 
https://issues.apache.org/jira/browse/PDFBOX-3950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16190326#comment-16190326
 ] 

Andreas Lehmkühler edited comment on PDFBOX-3950 at 10/3/17 8:48 PM:
---------------------------------------------------------------------

This issue is similar as PDFBOX-3950. But instead of empty page content streams 
the pages itself are missing.
I'm thinking about removing null-pages after rebuild the trailer to avoid this 
specific NPE


was (Author: lehmi):
This issue is similar/the same as PDFBOX-3950

> 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
>              Labels: regression
>         Attachments: 23EGDHXSBBYQLKYOKGZUOVYVNE675PRD.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]

Reply via email to