https://issues.apache.org/bugzilla/show_bug.cgi?id=53278

          Priority: P2
            Bug ID: 53278
          Assignee: [email protected]
           Summary: HSLF SlideShow write() leeds to
                    java.lang.ArrayIndexOutOfBoundsException
          Severity: blocker
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: All
            Status: NEW
           Version: 3.8
         Component: HSLF
           Product: POI

>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();
ppt.write(out);

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to