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 ------- Additional Comments From [EMAIL PROTECTED] 2004-06-27 15:21 ------- Looks like I goofed. That last testcase should be public void testParseEnd() { Record r = SubRecord.createSubRecord( (short)0x0000, (short)0x0000, dataAutoFilter, 0x0046 ); assertEquals( "ftEnd is 4 bytes", 4, r.getRecordSize()); assertEquals( "ftEnd is a EndSubRecord" , "org.apache.poi.hssf.record.EndSubRecord" , r.getClass().getName() ); } Nothing fancy about this testcase. It merely takes the actual bytes from an OBJ record that describes a dropdown, which was causing a problem in this report. Since I needed to change that method (SubRecord.createSubRecord), and verifies that the subrecords are all parsed and created properly. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
