You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Maruan Sahyoun (JIRA)" <ji...@apache.org> on 2015/09/26 15:06:04 UTC

[jira] [Resolved] (PDFBOX-2995) PDAcroForm getDefaultAppearance throws NPE if DA is not defined

     [ 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org