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=39547>. 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=39547 Summary: HSLF: IndexOutOfBoundsException in TextRun constructor Product: POI Version: unspecified Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: HSLF AssignedTo: poi-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] There is a bug in StyleTextPropAtom which prevents me from fixing the issue with slides ordering. How to reproduce: 1. Download http://www.gersteinlab.org/lectures/ppt/A2K-at-Yale-20060422.ppt 2. Try to construct the slide show: SlideShow ppt = new SlideShow(new HSLFSlideShow("A2K-at-Yale-20060422.ppt")); and get the error: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.LinkedList.entry(LinkedList.java:356) at java.util.LinkedList.get(LinkedList.java:299) at org.apache.poi.hslf.model.TextRun.<init>(TextRun.java:110) at org.apache.poi.hslf.model.TextRun.<init>(TextRun.java:67) 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) Before stack trace I see the following warnings: No core record found with ID 3 based on PersistPtr lookup No core record found with ID 5 based on PersistPtr lookup No core record found with ID 6 based on PersistPtr lookup No core record found with ID 7 based on PersistPtr lookup No core record found with ID 8 based on PersistPtr lookup No core record found with ID 9 based on PersistPtr lookup No core record found with ID 10 based on PersistPtr lookup No core record found with ID 11 based on PersistPtr lookup No core record found with ID 12 based on PersistPtr lookup No core record found with ID 13 based on PersistPtr lookup No core record found with ID 22 based on PersistPtr lookup No core record found with ID 44 based on PersistPtr lookup No core record found with ID 45 based on PersistPtr lookup Paragraph style ran out before character style did! Short by 327 characters. Calling RichTextRun functions is likely to break things - see Bug #38544 Regards, Yegor Kozlov -- 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/