[
https://issues.apache.org/jira/browse/PDFBOX-3473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-3473.
-------------------------------------
Resolution: Fixed
> IllegalArgumentException: resourceDictionary is null in PDFMerger (2)
> ---------------------------------------------------------------------
>
> Key: PDFBOX-3473
> URL: https://issues.apache.org/jira/browse/PDFBOX-3473
> Project: PDFBox
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 2.0.2, 2.0.3, 2.1.0
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Fix For: 2.0.3, 2.1.0
>
>
> As reported in PDFBOX-2546 by [~mkrivan]
> {code}
> Caused by: java.lang.IllegalArgumentException: resourceDictionary is null
> at org.apache.pdfbox.pdmodel.PDResources.<init>(PDResources.java:70)
> at
> org.apache.pdfbox.multipdf.PDFMergerUtility.appendDocument(PDFMergerUtility.java:559)
> at
> org.apache.pdfbox.multipdf.PDFMergerUtility.mergeDocuments(PDFMergerUtility.java:261)
> {code}
> The cause is an empty PDPage, i.e. without resources.
> {quote}
> (Required; inheritable) A dictionary containing any resources required by the
> page (see 7.8.3, "Resource Dictionaries"). If the page requires no resources,
> the value of this entry shall be an empty dictionary. Omitting the entry
> entirely indicates that the resources shall be inherited from an ancestor
> node in the page tree.
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]