DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40806>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40806

           Summary: ArrayIndexOutOfBoundsException while opening PPT file
           Product: POI
           Version: 3.0-dev
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSLF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


We are using POI to index PPT for a P2P search engine. While crawling the web 
we found this document: http://www.na.unep.net/OnePlanetManyPeople/THEMATIC/
Introduction.ppt which cause the following Exception:

java.lang.ArrayIndexOutOfBoundsException: 57
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$TextPropCollection.buildTextPropList(StyleTextPropAtom.java:421)
at 
org.apache.poi.hslf.record.StyleTextPropAtom.setParentTextSize(StyleTextPropAtom.java:270)
at org.apache.poi.hslf.model.TextRun.<init>(TextRun.java:91)
at org.apache.poi.hslf.model.TextRun.<init>(TextRun.java:68)
at org.apache.poi.hslf.model.Sheet.findTextRuns(Sheet.java:126)
at org.apache.poi.hslf.model.Sheet.findTextRuns(Sheet.java:88)
at org.apache.poi.hslf.model.Slide.<init>(Slide.java:66)
at 
org.apache.poi.hslf.usermodel.SlideShow.buildSlidesAndNotes(SlideShow.java:394)
at org.apache.poi.hslf.usermodel.SlideShow.<init>(SlideShow.java:116)
at 
org.apache.poi.hslf.extractor.PowerPointExtractor.<init>(PowerPointExtractor.java:85)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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