You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by GP <ga...@gmail.com> on 2009/04/16 21:06:56 UTC

PowerpointExtractor error

Hi.

When using the PowerpointExtractor class for a particular file, I get the
following error:

Exception in thread "main" java.lang.RuntimeException: Couldn't instantiate
the class for type with id 1006 on class class
org.apache.poi.hslf.record.Slide :
java.lang.reflect.InvocationTargetException
Cause was : java.lang.RuntimeException: Couldn't instantiate the class for
type with id 5000 on class class
org.apache.poi.hslf.record.DummyPositionSensitiveRecordWithChildren :
java.lang.reflect.InvocationTargetException
Cause was : java.lang.RuntimeException: Couldn't instantiate the class for
type with id 5002 on class class
org.apache.poi.hslf.record.DummyPositionSensitiveRecordWithChildren :
java.lang.reflect.InvocationTargetException
Cause was : java.lang.RuntimeException: Couldn't instantiate the class for
type with id 5003 on class class
org.apache.poi.hslf.record.DummyPositionSensitiveRecordWithChildren :
java.lang.reflect.InvocationTargetException
Cause was : java.lang.RuntimeException: Couldn't instantiate the class for
type with id 12000 on class class org.apache.poi.hslf.record.Comment2000 :
java.lang.reflect.InvocationTargetException
Cause was : java.lang.IllegalStateException: Third child record wasn't a
CString, was of type 12001
    at
org.apache.poi.hslf.record.Record.createRecordForType(Record.java:189)
    at
org.apache.poi.hslf.record.Record.buildRecordAtOffset(Record.java:104)
    at org.apache.poi.hslf.HSLFSlideShow.read(HSLFSlideShow.java:260)
    at
org.apache.poi.hslf.HSLFSlideShow.buildRecords(HSLFSlideShow.java:229)
    at org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:147)
    at org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:115)
    at
org.apache.poi.hslf.extractor.PowerPointExtractor.<init>(PowerPointExtractor.java:98)
    at
org.apache.poi.hslf.extractor.PowerPointExtractor.<init>(PowerPointExtractor.java:91)
    at
org.apache.poi.hslf.extractor.PowerPointExtractor.<init>(PowerPointExtractor.java:84)
    at
org.apache.poi.hslf.extractor.PowerPointExtractor.main(PowerPointExtractor.java:75)

What could be causing this error?

--GP