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/12/15 16:03:00 UTC

[jira] [Commented] (PDFBOX-4034) NPE thrown invoking PageIterator.enqueueKids

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

Tilman Hausherr commented on PDFBOX-4034:
-----------------------------------------

As usual, it would be nice to have the documents.

> NPE thrown invoking PageIterator.enqueueKids
> --------------------------------------------
>
>                 Key: PDFBOX-4034
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4034
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 2.0.8
>            Reporter: Jorge Spinsanti
>
> A NPE is thrown inside java.util.ArrayDeque class invoking from PageIterator.enqueueKids when merging documents:
> {code}
> java.lang.NullPointerException
> 	at java.util.ArrayDeque.addLast(ArrayDeque.java:242)
> 	at java.util.ArrayDeque.add(ArrayDeque.java:408)
> 	at org.apache.pdfbox.pdmodel.PDPageTree$PageIterator.enqueueKids(PDPageTree.java:174)
> 	at org.apache.pdfbox.pdmodel.PDPageTree$PageIterator.enqueueKids(PDPageTree.java:169)
> 	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.multipdf.PDFMergerUtility.appendDocument(PDFMergerUtility.java:585)
> 	at 
> org.apache.pdfbox.multipdf.PDFMergerUtility.mergeDocuments(PDFMergerUtility.java:266)
> ...
> {code}



--
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