You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tim Allison (JIRA)" <ji...@apache.org> on 2014/02/04 19:36:11 UTC

[jira] [Updated] (PDFBOX-1884) Avoid NPE when encountering null PDComplexFileSpecification

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

Tim Allison updated PDFBOX-1884:
--------------------------------

    Attachment: null_PDComplexFileSpecification.pdf

Test file attached, unit tests and patch to follow.

> Avoid NPE when encountering null PDComplexFileSpecification
> -----------------------------------------------------------
>
>                 Key: PDFBOX-1884
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1884
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.8.4
>            Reporter: Tim Allison
>            Priority: Minor
>         Attachments: null_PDComplexFileSpecification.pdf
>
>
> In some pdfs in the wild, PDComplexFileSpecification can be null. It would be great if we could skip those files that don't have any contents and not throw an NPE.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)