DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7255>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7255

Bug in automatically generated code (servlet code)

           Summary: Bug in automatically generated code (servlet code)
           Product: Tomcat 4
           Version: 4.0.2 Final
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Unknown
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


upon requesting a page from tomcat4.0.2 I get the following error:

type Exception report

message Internal Server Error

description The server encountered an internal error (Internal Server Error) that 
prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP
/Users/lhelldor/jakarta-tomcat-4.0.2/work/localhost/_/COM/en/registration/logic/action_0005flogin_0005ffor_0005fpage$jsp.java:256:
 Incompatible type for method. Explicit cast needed to convert java.lang.Throwable to 
java.lang.Exception.
            if (pageContext != null) pageContext.handlePageException(t);
                                                                     ^
1 error
(backtrace follows)

on examination of action_0005flogin_0005ffor_0005fpage$jsp.java I found the following 
code in it, obviously automatically generated:


            // end

        } catch (Throwable t) {
            if (out != null && out.getBufferSize() != 0)
                out.clearBuffer();
            if (pageContext != null) pageContext.handlePageException(t);
        } finally {
            if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
        }
    }
}

while it should read:


            // end

        } catch (Throwable t) {
            if (out != null && out.getBufferSize() != 0)
                out.clearBuffer();
            if (pageContext != null) pageContext.handlePageException((Exception)t);
        } finally {
            if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
        }
    }
}

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

Reply via email to