[
https://issues.apache.org/jira/browse/PDFBOX-737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Lehmkühler resolved PDFBOX-737.
---------------------------------------
Resolution: Fixed
I've added the patch with version 955842. I've made a small improvement by
adding a log statement.
Thanks to Adam for the contribution.
> Fix potential NullPointer exception in PDPageNode
> -------------------------------------------------
>
> Key: PDFBOX-737
> URL: https://issues.apache.org/jira/browse/PDFBOX-737
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.8.0-incubator, 1.0.0, 1.1.0
> Environment: Windows Vista 32-bit, Java 1.5, HEAD tag of PDFBox
> Reporter: Adam Nichols
> Fix For: 1.2.0
>
> Attachments: PDFBOX-737.patch
>
>
> getAllKids(List result, COSDictionary page, boolean recurse) throws a
> NullPointerException when page.getDictionaryObject( COSName.KIDS ) returns
> null. I have a PDF where this actually happens but I can not provide it due
> to the confidential information it contains. I confirmed that once I added
> the null check that the code worked as expected (the documents I was merging
> were visible, the page count was correct, etc.). Patch will be attached
> momentarily.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.