[
https://issues.apache.org/jira/browse/PDFBOX-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting resolved PDFBOX-33.
---------------------------------
Resolution: Incomplete
Test document not available.
> NPE in org.pdfbox.util.PDFStreamEngine:303
> ------------------------------------------
>
> Key: PDFBOX-33
> URL: https://issues.apache.org/jira/browse/PDFBOX-33
> Project: PDFBox
> Issue Type: Bug
> Components: Text extraction
>
> [imported from SourceForge]
> http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1115059
> Originally submitted by scherpbier on 2005-02-02 13:32.
> In build 0.7.0 when attempting to extract text from the
> attached PDF, I get a NullPointerException on line 303
> of org.pdfbox.util.PDFStreamEngine
> The line assumes that the variable c is not null, while
> it is.
> I don't know the details of the code there, but adding
> an additional check for c's nullness causes the NPE not
> to happen and text is extracted correctly as far as I
> can tell.
> Let me know any more information is required.
> (We ran into this PDF by accident. I think it is
> related to the JPEG 2000 standard)
> [comment on SourceForge]
> Originally sent by benlitchfield.
> Logged In: YES
> user_id=601708
> See PDF "japanese NPE.pdf"
> Ben
> [comment on SourceForge]
> Originally sent by scherpbier.
> Logged In: YES
> user_id=32816
> Argh! The file I attempted to attach is bigger then what SF
> allows.
> I'll email it to you.
> [comment on SourceForge]
> Originally sent by benlitchfield.
> Logged In: YES
> user_id=601708
> The PDF did not get attached, make sure you check
> the "upload file" checkbox.
> If it is not working then please email me the PDF.
> [email protected]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.