You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Rich Feit (JIRA)" <be...@incubator.apache.org> on 2005/04/27 09:42:26 UTC

[jira] Resolved: (BEEHIVE-567) ClassCastException when hit faces page directly

     [ http://issues.apache.org/jira/browse/BEEHIVE-567?page=all ]
     
Rich Feit resolved BEEHIVE-567:
-------------------------------

     Assign To: Julie Zhuo  (was: Rich Feit)
    Resolution: Fixed

Fixed with revision 164957.  Very glad you caught this.

> 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