You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Maruan Sahyoun (JIRA)" <ji...@apache.org> on 2013/04/06 17:15:15 UTC

[jira] [Closed] (PDFBOX-186) NullPointerException in getAllKids with corrupted pdf

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

Maruan Sahyoun closed PDFBOX-186.
---------------------------------

    Resolution: Won't Fix

The pdf provided is incomplete in it's content. E.g. %%EOF is missing, Xref is missing, trailer is missing ... Trying to open with Adobe Reader and other viewers shows the same result
                
> NullPointerException in getAllKids with corrupted pdf
> -----------------------------------------------------
>
>                 Key: PDFBOX-186
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-186
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>            Priority: Minor
>         Attachments: PDF-corrupted.pdf, PwC-Tech-Forecast-Spring-2009.pdf
>
>
> [imported from SourceForge]
> http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1532246
> Originally submitted by ojaquemet on 2006-08-01 01:15.
> java.lang.NullPointerException
>  at
> org.pdfbox.pdmodel.PDPageNode.getAllKids(PDPageNode.java:194)
>  at
> org.pdfbox.pdmodel.PDPageNode.getAllKids(PDPageNode.java:182)
>  at
> org.pdfbox.pdmodel.PDDocumentCatalog.getAllPages(PDDocumentCatalog.java:226)
>  at
> org.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:216)
>  at [...]
> Tested with PDFBox-0.7.2-log4j.jar and
> PDFBox-0.7.3-dev-20060731.jar
> Because the corrupted PDF is too big (7MB) to be
> attached here, you'll be able to find it there:
> http://olivier.jaquemet.free.fr/PDF-corrupted.pdf
> [comment on SourceForge]
> Originally sent by nobody.
> Logged In: NO 
> I get this message too.  How do you parse big PDFs?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira