You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/03/06 23:13:43 UTC

[jira] [Resolved] (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 ]

John Hewson resolved PDFBOX-1884.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.8.5

Sure thing, I aded this to the trunk in revision 1575069. and 1.8 in revision 1575070. Thanks for the unit test!

> 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
>            Assignee: John Hewson
>            Priority: Minor
>             Fix For: 1.8.5, 2.0.0
>
>         Attachments: PDFBOX-1884.patch.zip, 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.2#6252)