JSF/Page Flow integration blows up with MyFaces
-----------------------------------------------
Key: BEEHIVE-292
URL: http://issues.apache.org/jira/browse/BEEHIVE-292
Project: Beehive
Type: Bug
Components: NetUI
Versions: V1Beta
Reporter: Rich Feit
Assigned to: Rich Feit
Priority: Critical
Fix For: V1Beta
When submitting a Page Flow action from a JSF page under MyFaces, we get the
following exception:
java.lang.NullPointerException: viewRoot
at
net.sourceforge.myfaces.context.servlet.ServletFacesContextImpl.setViewRoot(ServletFacesContextImpl.java:241)
at
org.apache.beehive.netui.pageflow.faces.internal.PageFlowNavigationHandler.handleNavigation(PageFlowNavigationHandler.java:99)
at
net.sourceforge.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:85)
at
org.apache.beehive.netui.pageflow.faces.internal.PageFlowActionListener.processAction(PageFlowActionListener.java:60)
at javax.faces.component.UICommand.broadcast(UICommand.java:106)
at
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:105)
at
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:169)
at
net.sourceforge.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:256)
at
net.sourceforge.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:87)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
...
This works with the JSF 1.1 Reference Implementation, so either we're doing
something sketchy, or there's a bug in MyFaces. I'm guessing it's the former
-- the NPE is one that's intentionally thrown in MyFaces.
--
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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira