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/02/13 21:58:12 UTC

[jira] Created: (BEEHIVE-292) JSF/Page Flow integration blows up with MyFaces

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


[jira] Resolved: (BEEHIVE-292) JSF/Page Flow integration blows up with MyFaces

Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-292?page=history ]
     
Rich Feit resolved BEEHIVE-292:
-------------------------------

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

Fixed with revision 153672.

> 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
>     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


[jira] Assigned: (BEEHIVE-292) JSF/Page Flow integration blows up with MyFaces

Posted by "Alejandro Ramirez (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-292?page=all ]

Alejandro Ramirez reassigned BEEHIVE-292:
-----------------------------------------

    Assign To: Julie Zhuo

Please verify.

> 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
>     Assignee: Julie Zhuo
>     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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (BEEHIVE-292) JSF/Page Flow integration blows up with MyFaces

Posted by "Julie Zhuo (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-292?page=all ]
     
Julie Zhuo closed BEEHIVE-292:
------------------------------


Verified at rev170936. JpfFaces bvt test has this feature and it passes with Myfaces now.

> 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
>     Assignee: Julie Zhuo
>     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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira