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=30470>.
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=30470

DynaActionForm.toString() crashes for Integer-keyed Maps

           Summary: DynaActionForm.toString() crashes for Integer-keyed Maps
           Product: Struts
           Version: 1.1RC2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Controller
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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).

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to