You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2016/03/17 20:24:33 UTC

[jira] [Updated] (PDFBOX-2161) A PDRadioButton with no children throws an NPE

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

Andreas Lehmkühler updated PDFBOX-2161:
---------------------------------------
    Fix Version/s: 1.8.7
                   2.0.0

> A PDRadioButton with no children throws an NPE
> ----------------------------------------------
>
>                 Key: PDFBOX-2161
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2161
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 1.8.6
>            Reporter: Tim Allison
>            Priority: Minor
>             Fix For: 1.8.7, 2.0.0
>
>         Attachments: PDFBox-2161.patch, PDFBox-2161.patch
>
>
> In some pdfs, a PDRadioButton can not have any children.  This leads to an NPE when a client calls getValue().  The javadocs say that getValue() can throw an IOException if there is a problem getting the value, but not an NPE.
> A doc that shows this issue is:
> [562254|http://digitalcorpora.org/corp/nps/files/govdocs1/562/562254.pdf]



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