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=29071>. 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=29071 bug in ExceptionHandler, method calling itself Summary: bug in ExceptionHandler, method calling itself Product: Struts Version: Nightly Build Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Controller AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] // the following method, although slated for removal, results in stack overflow // needs a cast of error to ActionMessage protected void storeException( HttpServletRequest request, String property, ActionError error, ActionForward forward, String scope) { this.storeException(request, property, error, forward, scope); // :TODO: Remove after Struts 1.2 } Index: ExceptionHandler.java =================================================================== RCS file: /home/cvspublic/jakarta- struts/src/share/org/apache/struts/action/ExceptionHandler.java,v retrieving revision 1.24 diff -u -r1.24 ExceptionHandler.java --- ExceptionHandler.java 20 Dec 2003 12:54:10 -0000 1.24 +++ ExceptionHandler.java 18 May 2004 19:23:31 -0000 @@ -188,7 +188,7 @@ ActionForward forward, String scope) { - this.storeException(request, property, error, forward, scope); + this.storeException(request, property, (ActionMessage)error, forward, scope); // :TODO: Remove after Struts 1.2 } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]