You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "sagar pise (Updated) (JIRA)" <ji...@apache.org> on 2011/12/13 09:03:30 UTC
[jira] [Updated] (PDFBOX-1145) "write2file" gives Null Pointer
Exception
[ https://issues.apache.org/jira/browse/PDFBOX-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
sagar pise updated PDFBOX-1145:
-------------------------------
Attachment: TestFile.pdf
Hi,
Sorry for very late reply. I have attached required file which causes Null pointer exception.
Kindly acknolegde this comment.
> "write2file" gives Null Pointer Exception
> -----------------------------------------
>
> Key: PDFBOX-1145
> URL: https://issues.apache.org/jira/browse/PDFBOX-1145
> Project: PDFBox
> Issue Type: Bug
> Components: Writing
> Affects Versions: 1.6.0
> Environment: Windows XP version 2002, service pack 3, Inte;(R) Pentium(R) 4 CPU, 3.00GHz, 2.99 GHz, 1.99 GB of RAM,
> Reporter: sagar pise
> Labels: image, nullpointerexception, writing
> Attachments: TestFile.pdf
>
>
> Oct 24, 2011 11:00:15 AM org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap getRGBImage
> SEVERE: java.lang.NullPointerException
> java.lang.NullPointerException
> at org.apache.pdfbox.pdmodel.graphics.xobject.PDXObjectImage.getColorSpace(PDXObjectImage.java:286)
> at org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap.getRGBImage(PDPixelMap.java:140)
> at org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap.write2OutputStream(PDPixelMap.java:285)
> at org.apache.pdfbox.pdmodel.graphics.xobject.PDXObjectImage.write2file(PDXObjectImage.java:139)
> at org.apache.pdfbox.ExtractImages.extractImages(ExtractImages.java:165)
> at org.apache.pdfbox.ExtractImages.main(ExtractImages.java:62)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira