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