Maruan Sahyoun created PDFBOX-3726:
--------------------------------------

             Summary: 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to