I'm getting an error like this on a certain document:

java.lang.RuntimeException: Couldn't instantiate the class for type with id 1000
on class class org.apache.poi.hslf.record.Document :
java.lang.reflect.InvocationTargetException
Cause was : java.lang.RuntimeException: Couldn't instantiate the class for type
with id 1010 on class class org.apache.poi.hslf.record.Environment :
java.lang.reflect.InvocationTargetException
Cause was : java.lang.RuntimeException: Couldn't instantiate the class for type
with id 2005 on class class org.apache.poi.hslf.record.FontCollection :
java.lang.reflect.InvocationTargetException
Cause was : java.lang.ClassCastException:
org.apache.poi.hslf.record.UnknownRecordPlaceholder
        at 
org.apache.poi.hslf.record.Record.createRecordForType(Record.java:168)
        at org.apache.poi.hslf.record.Record.findChildRecords(Record.java:108)
        at org.apache.poi.hslf.HSLFSlideShow.readFIB(HSLFSlideShow.java:184)
        at org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:103)

It claims the cause was ClassCastException, but there isn't even a class cast on the line it shows in that stack trace.

Does anyone have any idea where this is actually coming from?

Daniel


--
Daniel Noll

Nuix Pty Ltd
Suite 79, 89 Jones St, Ultimo NSW 2007, Australia    Ph: +61 2 9280 0699
Web: http://www.nuix.com.au/                        Fax: +61 2 9212 6902

This message is intended only for the named recipient. If you are not
the intended recipient you are notified that disclosing, copying,
distributing or taking any action in reliance on the contents of this
message or attachment is strictly prohibited.

---------------------------------------------------------------------
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