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 (Commented) (JIRA)" <ji...@apache.org> on 2011/12/14 08:32:30 UTC

[jira] [Commented] (PDFBOX-1145) "write2file" gives Null Pointer Exception

    [ https://issues.apache.org/jira/browse/PDFBOX-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169140#comment-13169140 ] 

sagar pise commented on PDFBOX-1145:
------------------------------------

Hi,
It will be great if you could acknowledge this issue and give us solution as soon as possible.
                
> "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