You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/11/18 11:03:51 UTC

DO NOT REPLY [Bug 24772] New: - say where in the .jsp file it happens: "Cannot find bean xyz in scope null"

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

say where in the .jsp file it happens: "Cannot find bean xyz in scope null"

           Summary: say where in the .jsp file it happens: "Cannot find bean
                    xyz in scope null"
           Product: Tomcat 4
           Version: 4.1.24
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: hauser@acm.org


org.apache.jasper.JasperException: Cannot find bean user in scope null
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
...

root cause

javax.servlet.ServletException: Cannot find bean user in scope null
	at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:533)
	at org.apache.jsp.servicesPrices_en_jsp._jspService(servicesPrices_en_jsp.java:110)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)

o.k., so I am looking at "my" servicesPrices_en_jsp.java on line 110.
      if (_jspx_meth_html_html_0(pageContext))
        return;
    } catch (Throwable t) {
      out = _jspx_out;
      if (out != null && out.getBufferSize() != 0)
        out.clearBuffer();
      if (pageContext != null) pageContext.handlePageException(t);   <<<line 110
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
    }
  }
--> to me that seems next to impossible to correlate with my .jsp file in order
to find where the error is, therefore, having some more context would make the
experience a lot less frustrating!

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org