Now i get this exception:

Exception in thread "main" java.lang.RuntimeException: Couldn't instantiate
the class for type with id 1016 on class class
org.apache.poi.hslf.record.DummyPositionSensitiveRecordWithChildren :
java.lang.reflect.InvocationTargetException
        at 
org.apache.poi.hslf.record.Record.createRecordForType(Record.java:151)
        at org.apache.poi.hslf.record.Record.findChildRecords(Record.java:102)
        at org.apache.poi.hslf.HSLFSlideShow.readFIB(HSLFSlideShow.java:173)
        at org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:102)
        at org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:85)
        at org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:72)
        at
org.apache.poi.hslf.extractor.PowerPointExtractor.<init>(PowerPointExtractor.java:73)
        at handlers.PPTHandler.getContents(PPTHandler.java:33)
        at handlers.PPTHandler.main(PPTHandler.java:50)

maybe there is something wrong with my jar files!
I packaged the hslf classes by myself!

Something who haven't problems with the hslf classes and can send me the jar
file!

Thanks in forward!
Bye Derya

> --- Ursprüngliche Nachricht ---
> Von: [EMAIL PROTECTED]
> An: [email protected]
> Betreff: hslf Exception
> Datum: Mon, 29 Aug 2005 10:17:38 +0200 (MEST)
> 
> Hi,
> 
> i want to extract the contents from PowerPoint files.
> I use the hslf classes!
> 
> But i get the Exception:
> 
> Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 8
>       at org.apache.poi.util.HexDump.toHex(HexDump.java:406)
>       at org.apache.poi.util.HexDump.toHex(HexDump.java:397)
>       at
>
org.apache.poi.hpsf.UnsupportedVariantTypeException.<init>(UnsupportedVariantTypeException.java:49)
>       at
>
org.apache.poi.hpsf.ReadingNotSupportedException.<init>(ReadingNotSupportedException.java:45)
>       at org.apache.poi.hpsf.VariantSupport.read(VariantSupport.java:267)
>       at org.apache.poi.hpsf.Property.<init>(Property.java:146)
>       at org.apache.poi.hpsf.Section.<init>(Section.java:281)
>       at org.apache.poi.hpsf.PropertySet.init(PropertySet.java:452)
>       at org.apache.poi.hpsf.PropertySet.<init>(PropertySet.java:249)
>       at
> org.apache.poi.hpsf.PropertySetFactory.create(PropertySetFactory.java:59)
>       at
> org.apache.poi.hslf.HSLFSlideShow.getPropertySet(HSLFSlideShow.java:214)
>       at
> org.apache.poi.hslf.HSLFSlideShow.readProperties(HSLFSlideShow.java:182)
>       at org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:105)
>       at org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:85)
>       at org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:72)
>       at
>
org.apache.poi.hslf.extractor.PowerPointExtractor.<init>(PowerPointExtractor.java:73)
>       at handlers.PPTHandler.getContents(PPTHandler.java:33)
>       at handlers.PPTHandler.main(PPTHandler.java:50)
> 
> when i initialise:
> PowerPointExtractor extractor = new PowerPointExtractor(file.getPath());
> 
> what i'm doing wrong?
> 
> Thanks in forward!
> Bye Derya
> 
> -- 
> Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
> Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
> 

-- 
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse für Mail, Message, More +++

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

Reply via email to