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 2017/03/23 11:07:41 UTC

[jira] [Resolved] (PDFBOX-3726) NPE when setting the field value in an AcroForm and the NormalAppearance entry exists but is COSNull

     [ https://issues.apache.org/jira/browse/PDFBOX-3726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maruan Sahyoun resolved PDFBOX-3726.
------------------------------------
    Resolution: Fixed

resolving issue inline with test results. Feel free to reopen if the issues persists.

> NPE when setting the field value in an AcroForm and the NormalAppearance entry exists but is COSNull
> ----------------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-3726
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3726
>             Project: PDFBox
>          Issue Type: Bug
>          Components: AcroForm
>    Affects Versions: 2.0.5, 2.1.0
>            Reporter: Maruan Sahyoun
>            Assignee: Maruan Sahyoun
>             Fix For: 2.0.6, 2.1.0
>
>
> When the {{NormalAppearance}} entry exists in a {{PDAnnotationWidget}} but the entry is {{COSNull}} and NPE is raised similar to 
> {code}
> Exception in thread "main" java.lang.NullPointerException at
> org.apache.pdfbox.pdmodel.interactive.form.AppearanceGeneratorHelper.setAppearanceValue(AppearanceGeneratorHelper.java:137) 
> {code}
> See PDFBOX-3723 for a sample.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org