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=27929>. 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=27929 [PATCH] Opening XLS file with drop down list throws ArrayIndexOutofBoundsException [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Additional Comments From [EMAIL PROTECTED] 2004-06-27 11:49 ------- Michael, I'm just trying to understand your test case. The following test case is failing: public void testParseEnd() { Record r = SubRecord.createSubRecord( (short) 0x0015, (short) 0x0012, dataAutoFilter, 0x0000 ); assertEquals( "ftCmo is 22 bytes", 22, r.getRecordSize() ); assertEquals( "ftEnd is a EndSubRecord" , "org.apache.poi.hssf.record.EndSubRecord" , r.getClass().getName() ); } The sid you're passing in is for the CommonObjectDataSubRecord record yet your test is expecting it to be a EndSubRecord. Why is this the case? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
