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/13 17:36:51 UTC

ArrayIndexOutOfBoundsException - LittleEndian - getNumber()

Hi

What can you make out of this exception?  (while initializing a
SlideShow)

class java.lang.ArrayIndexOutOfBoundsException - 45
java.lang.ArrayIndexOutOfBoundsException: 45
        at
org.apache.poi.util.LittleEndian.getNumber(LittleEndian.java:491)
        at
org.apache.poi.util.LittleEndian.getInt(LittleEndian.java:139)
        at
org.apache.poi.hslf.record.StyleTextPropAtom.setParentTextSize(StyleText
PropAtom.java:265)
        at org.apache.poi.hslf.model.TextRun.<init>(TextRun.java:94)
        at org.apache.poi.hslf.model.TextRun.<init>(TextRun.java:71)
        at org.apache.poi.hslf.model.Sheet.findTextRuns(Sheet.java:135)
        at org.apache.poi.hslf.model.Sheet.findTextRuns(Sheet.java:97)
        at org.apache.poi.hslf.model.Slide.<init>(Slide.java:67)
        at
org.apache.poi.hslf.usermodel.SlideShow.buildSlidesAndNotes(SlideShow.ja
va:412)
        at
org.apache.poi.hslf.usermodel.SlideShow.<init>(SlideShow.java:116)

---------------------------------------------------------------------
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: ArrayIndexOutOfBoundsException - LittleEndian - getNumber()

Posted by Nick Burch <ni...@torchbox.com>.
On Mon, 13 Nov 2006, Erez Eisenstein wrote:
> What can you make out of this exception?  (while initializing a
> SlideShow)

The StyleTextPropAtom record doesn't have as much data in it as we're 
expecting. So, when we try to read all the values we're expecting from it, 
we run out of data.

If you attach the problem presentation to bugzilla, we can take a look and 
see why it doesn't have enough data, and what we can do about this.

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/