Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.6.0
-
None
-
Windows XP version 2002, service pack 3, Inte;(R) Pentium(R) 4 CPU, 3.00GHz, 2.99 GHz, 1.99 GB of RAM,
Description
When I tried to extract images using ExtractImages.java, I got following Nullpointer exception
Dec 14, 2011 6:30:11 PM 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)
Attachments
Attachments
Issue Links
- duplicates
-
PDFBOX-1145 "write2file" gives Null Pointer Exception
- Closed