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

Maruan Sahyoun commented on PDFBOX-4107:
----------------------------------------

Although I can see why the issue probably happens (it's further up to line 743) 
it would be good if you could provide a sample document to test with and to 
ensure that the fix doesn't have any side effects. 

> NPE at PDFMergerUtility
> -----------------------
>
>                 Key: PDFBOX-4107
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4107
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.8
>            Reporter: Gerardo Arroyo
>            Priority: Critical
>
> If I merge several documents at get an:
>  
> java.lang.NullPointerException
>  at 
> org.apache.pdfbox.multipdf.PDFMergerUtility.mergeAcroForm(PDFMergerUtility.java:743)
>  at 
> org.apache.pdfbox.multipdf.PDFMergerUtility.appendDocument(PDFMergerUtility.java:390)
>  at 
> org.apache.pdfbox.multipdf.PDFMergerUtility.mergeDocuments(PDFMergerUtility.java:266)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to