[
https://issues.apache.org/jira/browse/PDFBOX-3301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15221637#comment-15221637
]
ASF subversion and git services commented on PDFBOX-3301:
---------------------------------------------------------
Commit 1737365 from [~msahyoun] in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1737365 ]
PDFBOX-3301: lookup widgets page reference if there is no /P entry
> 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]