Logged In: NO

I run the same tests using the PDFBox-0.7.4-dev-20080223 version. The first error has been replaced by a new one:
Processing java.lang.NullPointerException
at org.pdfbox.pdmodel.graphics.xobject.PDCcitt$TiffWrapper.buildHeader(PDCcitt.java:529)
at org.pdfbox.pdmodel.graphics.xobject.PDCcitt$TiffWrapper.<init>(PDCcitt.java:372)
at org.pdfbox.pdmodel.graphics.xobject.PDCcitt$TiffWrapper.<init>(PDCcitt.java:363)
at org.pdfbox.pdmodel.graphics.xobject.PDCcitt.write2OutputStream(PDCcitt.java:137)
at PDFBox1.parseDocument(PDFBox1.java:237)
at PDFBox1.processAll(PDFBox1.java:108)
at PDFBox1.main(PDFBox1.java:468)
The second error still occurs:
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at org.pdfbox.pdmodel.graphics.predictor.None.decode(None.java:71)
at org.pdfbox.pdmodel.graphics.xobject.PDPixelMap.getRGBImage(PDPixelMap.java:173)
at org.pdfbox.pdmodel.graphics.xobject.PDPixelMap.write2OutputStream(PDPixelMap.java:190)
at PDFBox1.parseDocument(PDFBox1.java:237)
at PDFBox1.processAll(PDFBox1.java:108)
at PDFBox1.main(PDFBox1.java:468)
I used 5000 files for the test and about 10% fail with one of these two exceptions.
Any solution or should I use another library to extract graphics out of PDF files?

Best regards

JP
dev@softpark.ws