Bug 44723

Summary: java.lang.reflect.InvocationTargetException
Product: POI Reporter: Durga Deep Tirunagari <durgadeep>
Component: HSLFAssignee: POI Developers List <dev>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Hardware: Sun   
OS: Solaris   
Attachments: We are using Lucene to Index this powerpoint Document. So we are using getText method.

Description Durga Deep Tirunagari 2008-03-31 18:05:03 UTC
Usage : 

           PowerPointExtractor ppe = null;
           ppe = new PowerPointExtractor(isr);
           convertedText = ppe.getText(true, true);


WARNING: Unable to Index MS PowerPoint Document : 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 1036 on class class org.apache.poi.hslf.record.PPDrawing : java.lang.reflect.InvocationTargetException
Cause was : java.lang.ArrayIndexOutOfBoundsException

WARNING: Unable to Index MS PowerPoint Document : 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 1036 on class class org.apache.poi.hslf.record.PPDrawing : java.lang.reflect.InvocationTargetException
Cause was : java.lang.ArrayIndexOutOfBoundsException

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 1036 on class class org.apache.poi.hslf.record.PPDrawing : java.lang.reflect.InvocationTargetException

Cause was : java.lang.ArrayIndexOutOfBoundsException
        at org.apache.poi.hslf.record.Record.createRecordForType(Record.java:190)
        at org.apache.poi.hslf.record.Record.buildRecordAtOffset(Record.java:105)
        at org.apache.poi.hslf.HSLFSlideShow.read(HSLFSlideShow.java:264)
        at org.apache.poi.hslf.HSLFSlideShow.buildRecords(HSLFSlideShow.java:235)
        at org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:145)
        at org.apache.poi.hslf.extractor.PowerPointExtractor.<init>(PowerPointExtractor.java:92)
        at org.apache.poi.hslf.extractor.PowerPointExtractor.<init>(PowerPointExtractor.java:85)
Comment 1 Durga Deep Tirunagari 2008-03-31 18:06:40 UTC
Created attachment 21748 [details]
We are using Lucene to Index this powerpoint Document. So we are using getText method.

Power Point Document.
Comment 2 Yegor Kozlov 2008-04-16 05:42:12 UTC

*** This bug has been marked as a duplicate of bug 44770 ***