[ http://issues.apache.org/struts/browse/STR-2161?page=all ] David Evans closed STR-2161: ----------------------------
Resolution: Fixed > DynaActionForm.toString() crashes for Integer-keyed Maps > -------------------------------------------------------- > > Key: STR-2161 > URL: http://issues.apache.org/struts/browse/STR-2161 > Project: Struts Action 1 > Type: Bug > Components: Action > Versions: 1.1 RC2 > Environment: Operating System: Windows XP > Platform: PC > Reporter: Tim > Assignee: David Evans > Fix For: 1.2 Family > > When a DynaActionForm has a property which is a Map that uses Integers as its > keys, the toString() method throws a ClassCastException at line 552. > My revision of DynaActionForm.java is 1.8. The line that throws the > exception > is "String key = (String) keys.next();" but an Integer cannot be cast to a > String (I assume several others also cannot be cast to String). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]