[
https://issues.apache.org/jira/browse/PDFBOX-2995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maruan Sahyoun resolved PDFBOX-2995.
------------------------------------
Resolution: Fixed
[~avacondio] thanks for your regular contributions - very helpful
> PDAcroForm getDefaultAppearance throws NPE if DA is not defined
> ---------------------------------------------------------------
>
> Key: PDFBOX-2995
> URL: https://issues.apache.org/jira/browse/PDFBOX-2995
> Project: PDFBox
> Issue Type: Bug
> Components: AcroForm
> Affects Versions: 2.0.0
> Reporter: Andrea Vacondio
> Assignee: Maruan Sahyoun
> Priority: Minor
> Labels: acroform
> Fix For: 2.0.0
>
> Attachments: avoid_NPE_optional_DA.diff
>
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> In the form dictionary the DA key is optional. Current implementation throws
> an NPE if you call PDAcroForm::getDefaultAppearance and no DA is defined
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]