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 2016/04/19 12:50:25 UTC

[jira] [Resolved] (PDFBOX-3301) NPE in PDAcroForm.flatten if a widget doesn't contain a /P entry

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

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

resolving as there was no negative feedback

> NPE in PDAcroForm.flatten if a widget doesn't contain a /P entry
> ----------------------------------------------------------------
>
>                 Key: PDFBOX-3301
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3301
>             Project: PDFBox
>          Issue Type: Bug
>          Components: AcroForm
>    Affects Versions: 2.0.0
>            Reporter: Maruan Sahyoun
>            Assignee: Maruan Sahyoun
>             Fix For: 2.0.1, 2.1.0
>
>
> A form filling issue was discussed on the users mailing list where one of the issues was that the widget annotations do not contain a /P entry. 
> This led to an NPE:
> {code}
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.pdfbox.pdmodel.PDPageContentStream.<init>(PDPageContentStream.java:195)
> {code}
> As the /P entry is an optional entry the code would not opened on that entry.



--
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