#179 Creating 'New' view causes Major Error

v 2.1.1
open
nobody
General (18)
9
2005-10-02
2005-10-02
Nicholas
No

Follow these instructions carefully to see a major error:

1) Click 'Contacts' Tab
2) Go to the 'Default View' dropdown and select 'Edit View'
3) Once the page loads, click the [New View] button at
the bottom left part of the content area

Here is the ensuring error:
javax.servlet.ServletException: Cannot find bean
org.apache.struts.action.EXCEPTION in any scope
at
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
at
com.centraview.jsp.errorPage_jsp._jspService(errorPage_jsp.java:216)
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.processRequest(ApplicationDispatcher.java:463)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
at
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318)
at
com.centraview.struts.CustomRequestProcessor.processForwardConfig(CustomRequestProcessor.java:68)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
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
com.centraview.filter.PopulateUserObject.doFilter(PopulateUserObject.java:100)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:534)

Discussion

  • Nicholas
    Nicholas
    2005-10-02

    • priority: 5 --> 9
     
  • katrame1
    katrame1
    2006-03-23

    Logged In: YES
    user_id=1483787

    As my little contribution: the exception raised from the
    errorPage.jsp page, where the bean:define is called.
    In my knowledge the org.apache.struts.action.EXCEPTION bean
    should be present only if the error comes from a JSP page
    declaring errorPage with the <%@ page %> directive. As an
    alternative, some Action class should define the bean.
    Visiting the source files I did not see this definiton or
    directive anywhere. Maybe I am missing something, but it
    should be there to throw the org.apache.struts.action.EXCEPTION.

    For sake of clarity, an excerpt from bean tld Struts
    documentation follows:
    "Many of the tags in this tag library will throw a
    JspException at runtime when they are utilized incorrectly
    (such as when you specify an invalid combination of tag
    attributes). JSP allows you to declare an "error page" in
    the <%@ page %> directive. If you wish to process the actual
    exception that caused the problem, it is passed to the error
    page as a request attribute under key
    org.apache.struts.action.EXCEPTION."

    I hope the team is able to solve the bug, because the
    centraview application seems to be really useful for our needs.
    Thank you for your attention.

     
  • c_heyner
    c_heyner
    2006-03-23

    Logged In: YES
    user_id=1463185

    Hi,

    I am afraid, the CentraView team is not working any more. In
    the CentraView european version we have solved this bug. As
    I mentioned in the forum we will make an english version
    available in April.

    Christian