You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/05/01 12:48:08 UTC

[jira] [Commented] (PDFBOX-3318) IllegalArgumentException in PDPageTree constructor: root cannot be null

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

ASF subversion and git services commented on PDFBOX-3318:
---------------------------------------------------------

Commit 1793321 from [~lehmi] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1793321 ]

PDFBOX-3318: improve rebuilding trailer if a xref stream is present

> IllegalArgumentException in PDPageTree constructor: root cannot be null
> -----------------------------------------------------------------------
>
>                 Key: PDFBOX-3318
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3318
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 2.0.0
>            Reporter: Arul Dhesiaseelan
>            Assignee: Andreas Lehmkühler
>         Attachments: rootCannotBeNull.pdf
>
>
> When merging this pdf with another pdf, I get this exception. It looks similar to PDFBOX-2615.
> {code}
> java.lang.IllegalArgumentException: root cannot be null
> 	at org.apache.pdfbox.pdmodel.PDPageTree.<init>(PDPageTree.java:75)
> 	at org.apache.pdfbox.pdmodel.PDDocumentCatalog.getPages(PDDocumentCatalog.java:128)
> 	at org.apache.pdfbox.multipdf.PDFMergerUtility.appendDocument(PDFMergerUtility.java:484)
> 	at org.apache.pdfbox.multipdf.PDFMergerUtility.mergeDocuments(PDFMergerUtility.java:213)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org