struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (STR-2857) Cannot find bean XXXForm in any scope
Date Fri, 05 May 2006 17:22:53 GMT
    [ http://issues.apache.org/struts/browse/STR-2857?page=comments#action_37280 ] 

Henri Yandell commented on STR-2857:
------------------------------------

Couple of comments:

* The exception seems to be coming from the Exception page, rather than the Struts framework
itself. Do you have a custom exception jsp in place? It looks like the Exception page is trying
to display information about the bean, and it's not available. So what you're seeing isn't
your original error, just a problem in trying to display the original error.

* Was it just a typo to have XXXXForm in some places and XXXForm in others? I presume those
aren't the real names.

> Cannot find bean XXXForm in any scope
> -------------------------------------
>
>          Key: STR-2857
>          URL: http://issues.apache.org/struts/browse/STR-2857
>      Project: Struts Action 1
>         Type: Bug

>   Components: Taglibs
>     Versions: 1.2.4
>  Environment: Internet explorer 6
>     Reporter: Raghava

>
> We are getting 'Cannot find bean XXXXForm in any scope' exception on our production server
at least 6 times a day and we have no clue how to reproduce the bug.
> The exception is happening in JSP which is having following code.
> -------------------------------------------------------------------------------------------------------------------------
> <bean:write name="XXXXForm" property="XXXXValue" />
> -------------------------------------------------------------------------------------------------------------------------
> and action which is leading to this JSP in xxx-strust-config.xml is 
> -------------------------------------------------------------------------------------------------------------------------
> <action path="/xxxAction" type="xxx"
>                 name="XXXForm" scope="session">
>             <set-property property="useCase" value="XXXUseCase"/>
>             <forward name="xxx" path="/xxxx.jsp"/>            
> </action>
> -------------------------------------------------------------------------------------------------------------------------
> Exception is
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> Caused by: javax.servlet.ServletException: Cannot find bean XXXForm in any scope
> 	at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
> 	at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
> 	at org.apache.jsp.oms.multiDownloadInitiator_jsp._jspService(multiDownloadInitiator_jsp.java:296)
> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
> 	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
> 	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
> 	at com.conject.ng.webapp.common.faces.renderer.NGWidgetRenderer.processForward(NGWidgetRenderer.java:150)
> -------------------------------------------------------------------------------------------------------------------------
> As i said we tried to reproduce the bug to fix it but no luck
> Thanks in advance.
> Raghava

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message