[
https://issues.apache.org/jira/browse/PDFBOX-3247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maruan Sahyoun updated PDFBOX-3247:
-----------------------------------
Component/s: AcroForm
> Merging fails on certain pdfs with form-fields
> ----------------------------------------------
>
> Key: PDFBOX-3247
> URL: https://issues.apache.org/jira/browse/PDFBOX-3247
> Project: PDFBox
> Issue Type: Bug
> Components: AcroForm
> Affects Versions: 1.8.11
> Reporter: Marco Wettstein
> Priority: Critical
> Attachments: 20150623_Layout_Rückseite.pdf
>
>
> I have a simple pdf with a form field. When I merge it with another pdf it
> crashes with a NullPointerException:
> PDFMergerUtility.mergeDocuments()
> then in PDAcroForm on line 303:
> {code}
> COSString fieldName = (COSString)element.getDictionaryObject(
> COSName.getPDFName( "T" ) );
> if( fieldName.getString().equals( name ) ||
> fieldName.getString().equals( nameSubSection[0] ) )
> {code}
> fieldName will be null.
> The file that causes the problem can be found here:
> https://drive.google.com/file/d/0B999M9JdRfxfVUdQeENSZkFCdlk/view?usp=sharing
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]