[
https://issues.apache.org/jira/browse/PDFBOX-2995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14909213#comment-14909213
]
ASF subversion and git services commented on PDFBOX-2995:
---------------------------------------------------------
Commit 1705415 from [~msahyoun] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1705415 ]
PDFBOX-2995: avoid NPE if DA is not defined
> 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]