You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/09/04 17:26:02 UTC
DO NOT REPLY [Bug 31060] New: -
ClassCastException Struts 1.2.x in Action.java
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=31060>.
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=31060
ClassCastException Struts 1.2.x in Action.java
Summary: ClassCastException Struts 1.2.x in Action.java
Product: Struts
Version: Unknown
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Controller
AssignedTo: dev@struts.apache.org
ReportedBy: alwin.ibba@web.de
The not-deprecated version of Action.saveErrors() takes an ActionMessages
object. getErrors() and addErrors() cast this object to ActionErrors, which
causes a ClassCastException, if an ActionMessages (not ActionErrors) was used
initially. This is a problem of Struts 1.2.x.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org