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: 1.1.0, 1.0.0, 0.8.0-incubator, 0.7.3, 0.7.2, 0.7.1, 0.7.0
Environment: Windows Vista 32-bit, Java 1.5, HEAD tag of PDFBox
Reporter: Adam Nichols
Fix For: 1.2.0
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.