Bug 53278 - HSLF SlideShow write() leeds to java.lang.ArrayIndexOutOfBoundsException
Summary: HSLF SlideShow write() leeds to java.lang.ArrayIndexOutOfBoundsException
Alias: None
Product: POI
Classification: Unclassified
Component: HSLF (show other bugs)
Version: 3.8-FINAL
Hardware: All All
: P2 blocker (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2012-05-23 09:55 UTC by Armin
Modified: 2013-10-24 19:38 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Armin 2012-05-23 09:55:22 UTC
From Version 3.8 up to the current 3.9-beta1 the write() function of SlideShow results in an ArrayIndexOutOfBoundsException.

The SlideShow is created from an array of bytes containing a valid excel file,
and then even without modification if the write() function is called (for streaming to the client) the exception occurs. With final version 3.7 everything is fine.

What is done:

SlideShow ppt = new SlideShow(
    new ByteArrayInputStream(byte[] data)  // data containing valid ppt file

ByteArrayOutputStream out = new ByteArrayOutputStream();
Comment 1 Dominik Stadler 2013-08-14 14:55:12 UTC
HSLF-Slideshow and Excel file? Can you attach the files that you are using?
Comment 2 Andreas Beeker 2013-10-19 17:43:55 UTC
This bug report hasn't got any activitiy from the OP for quite a while now.
Can it be invalidated closed?
Comment 3 Dominik Stadler 2013-10-24 19:38:46 UTC
No update for some time => Resolve for now, please reopen with more information if this is still an issue.