[ http://issues.apache.org/jira/browse/BEEHIVE-567?page=all ] Julie Zhuo closed BEEHIVE-567: ------------------------------
Verified fixed at rev165649. Close. > ClassCastException when hit faces page directly > ----------------------------------------------- > > Key: BEEHIVE-567 > URL: http://issues.apache.org/jira/browse/BEEHIVE-567 > Project: Beehive > Type: Bug > Components: NetUI > Versions: V1 > Reporter: Julie Zhuo > Assignee: Julie Zhuo > > Repro: > 1. Deploy jsfWeb in svn tree to tomcat. > 2. Hit http://localhost:8080/jsfWeb/initMemberFields/page1.faces. > It cause the following exception, > HTTP Status 500 - > -------------------------------------------------------------------------------- > type Exception report > message > description The server encountered an internal error () that prevented it > from fulfilling this request. > exception > javax.servlet.ServletException: org.apache.coyote.tomcat5.CoyoteRequestFacade > > org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:300) > > org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:204) > > org.apache.beehive.netui.tools.testrecorder.server.TestRecorderFilter.doFilter(TestRecorderFilter.java:144) > root cause > java.lang.ClassCastException: org.apache.coyote.tomcat5.CoyoteRequestFacade > > org.apache.beehive.netui.pageflow.internal.PageFlowRequestWrapper.unwrap(PageFlowRequestWrapper.java:62) > > org.apache.beehive.netui.pageflow.faces.internal.PageFlowViewHandler.createView(PageFlowViewHandler.java:71) > > com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:164) > com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200) > com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90) > javax.faces.webapp.FacesServlet.service(FacesServlet.java:197) > > org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:279) > > org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:204) > > org.apache.beehive.netui.tools.testrecorder.server.TestRecorderFilter.doFilter(TestRecorderFilter.java:144) > 3. Hit > http://localhost:8080/jsfWeb/initMemberFields/InitMemberFieldsController.jpf, > notice everything works fine. > 4. Hit http://localhost:8080/jsfWeb/initMemberFields/page1.faces again, > things working fine again. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
