You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Erez Eisenstein <EE...@axismobile.com> on 2006/11/20 09:52:33 UTC
PPT - HSLFSlideShow - exception when initializing
Hi, can any of you guys tell me what can I make out with this exception?
It happens when I try to initialize an HSLFSlideShow instance, using a
file name.
Thanks.
class java.lang.ArrayIndexOutOfBoundsException - 19
java.lang.ArrayIndexOutOfBoundsException: 19
at
org.apache.poi.util.LittleEndian.getNumber(LittleEndian.java:491)
at
org.apache.poi.util.LittleEndian.getUInt(LittleEndian.java:163)
at
org.apache.poi.hslf.record.CurrentUserAtom.init(CurrentUserAtom.java:120
)
at
org.apache.poi.hslf.record.CurrentUserAtom.<init>(CurrentUserAtom.java:1
04)
at
org.apache.poi.hslf.HSLFSlideShow.readCurrentUserStream(HSLFSlideShow.ja
va:224)
at
org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:111)
at
org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:94)
at
org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:81)
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
Re: PPT - HSLFSlideShow - exception when initializing
Posted by Nick Burch <ni...@torchbox.com>.
On Mon, 20 Nov 2006, Erez Eisenstein wrote:
> Hi, can any of you guys tell me what can I make out with this exception?
There's something up with your CurrentUserAtom. It should be at least 28
bytes long, but yours isn't even 20 bytes long.
I've added a check to CurrentUserAtom, and it'll now throw a more
informative CorruptPowerPointFileException for this document.
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/