geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Zynevich (JIRA)" <>
Subject [jira] Created: (GERONIMO-3182) Damned servlet exception in Geronimo - bad stack trace.
Date Tue, 22 May 2007 14:19:16 GMT
Damned servlet exception in Geronimo - bad stack trace.

                 Key: GERONIMO-3182
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: web
    Affects Versions: 2.0-M6
            Reporter: Alexander Zynevich
         Attachments: ServletException.jad

I trying to make JSF application working and get error messages like this in log:
javax.servlet.ServletException: Cannot convert
of type class $Proxy34 to class for bean 'SignonBean'
check the configuration to make sure all properties correspond with get/set methods
	at javax.faces.webapp.FacesServlet.service(
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(
	at org.apache.catalina.core.StandardWrapperValve.invoke(
	at org.apache.catalina.core.StandardContextValve.invoke(
	at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(
	at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(
	at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(
	at org.apache.catalina.core.StandardHostValve.invoke(
	at org.apache.catalina.valves.ErrorReportValve.invoke(
	at org.apache.catalina.core.StandardEngineValve.invoke(
	at org.apache.catalina.valves.AccessLogValve.invoke(
	at org.apache.catalina.connector.CoyoteAdapter.service(
	at org.apache.coyote.http11.Http11Processor.process(
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(

The problem is NOT this exception but in the way it presented.
This exception is wrapping some runtime or app-specific exception into Servlet exception.
But geronimo is bundled with /org.apache.geronimo.specs/geronimo-servlet_2.5_spec// which
has servlet exception as:
public class ServletException extends Exception

    public ServletException()

    public ServletException(String message)

    public ServletException(String message, Throwable rootCause)
        this.rootCause = rootCause;

    public ServletException(Throwable rootCause)
        this.rootCause = rootCause;

    public Throwable getRootCause()
        return rootCause;

    private Throwable rootCause;
which of course does not expose class name and stack trace of wrapped exception (I decompile
exactly from /org.apache.geronimo.specs/geronimo-servlet_2.5_spec/1.1-SNAPSHOT/)
It makes stack trace absolutely unuseful!
My expectation is that ServletException should be the same as the latest revision in Tomcat
where the "rootCause" is hadled as "cause" in wrapping constructor of java.lang.Execption.

I am going to substitute this class in jar manually, to bypass it.

Of course I understand that this is because of Maven-build-ideology of Geronimo and real *bug*
is in /org.apache.geronimo.specs/geronimo-servlet_2.5_spec/1.1-SNAPSHOT/ artifact. On the
othet hand this is very anoying! Could somebody fix centrally? 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message