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=43116>. 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=43116 Summary: NegativeArraySizeException parsing xls file containing OLE objects Product: POI Version: 3.0 Platform: Other OS/Version: other Status: NEW Severity: blocker Priority: P2 Component: HSSF AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] I crafted a test Excel document in Excel 2003, putting embedded Word and PowerPoint objects inside it. I didn't expect it to handle these, but what it did was much worse than my expectations. :-) Test code and file will be attached in a minute, results in the following exception. java.lang.NegativeArraySizeException at org.apache.poi.ddf.UnknownEscherRecord.fillFields(UnknownEscherRecord.java:76) at org.apache.poi.ddf.EscherContainerRecord.fillFields(EscherContainerRecord.java:56) at org.apache.poi.ddf.EscherContainerRecord.fillFields(EscherContainerRecord.java:56) at org.apache.poi.hssf.record.AbstractEscherHolderRecord.convertToEscherRecords(AbstractEscherHolderRecord.java:101) at org.apache.poi.hssf.record.AbstractEscherHolderRecord.decode(AbstractEscherHolderRecord.java:293) at org.apache.poi.hssf.usermodel.HSSFWorkbook.getAllPictures(HSSFWorkbook.java:1337) -- 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] For additional commands, e-mail: [EMAIL PROTECTED]
