You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by vace117 <va...@yahoo.ca> on 2006/05/06 05:14:53 UTC
Upgrading to MyFaces 1.1.2
Hi. I just tried to upgrade to MyFaces 1.1.2, and it appears not to work with
tomahawk 1.1.1. TomCat 5.0 starts up fine, but when I try to hit a page, I
get this error:
java.lang.ArrayIndexOutOfBoundsException: 4
at javax.faces.component.UIViewRoot.restoreState(UIViewRoot.java:315)
at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:728)
at
org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreComponentState(JspStateManagerImpl.java:221)
at
org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:287)
at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspViewHandlerImpl.java:255)
at
org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.restoreView(JspTilesViewHandlerImpl.java:320)
at
org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:141)
at
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
I tried to upgrade Tomahawk to tomahawk-1.1.3-SNAPSHOT (I couldn't find
1.1.2), but then I get this error:
javax.faces.FacesException: java.lang.ClassNotFoundException:
org.apache.myfaces.el.SimpleActionMethodBinding
at
org.apache.myfaces.shared_impl.util.StateUtils.getAsObject(StateUtils.java:283)
at
org.apache.myfaces.shared_impl.util.StateUtils.reconstruct(StateUtils.java:217)
at
org.apache.myfaces.renderkit.html.HtmlResponseStateManager.getComponentStateToRestore(HtmlResponseStateManager.java:221)
at
org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreComponentState(JspStateManagerImpl.java:186)
at
org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:287)
at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspViewHandlerImpl.java:255)
at
org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.restoreView(JspTilesViewHandlerImpl.java:320)
at
org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:141)
at
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
This seems to be justified, since SimpleActionMethodBinding was moved to
org.apache.myfaces.shared_impl.el and org.apache.myfaces.shared_tomahawk.el
But why is org.apache.myfaces.shared_impl.util.StateUtils refering to the
old path after upgrading MyFaces and Tomahawk?
Has anyone upgraded to MyFaces 1.1.2 successfully? If so, could you please
tell me what you had to do?
--
View this message in context: http://www.nabble.com/Upgrading-to-MyFaces-1.1.2-t1567657.html#a4257455
Sent from the MyFaces - Users forum at Nabble.com.
Re: Upgrading to MyFaces 1.1.2
Posted by Matthias Wessendorf <ma...@apache.org>.
SimpleActionMethodBinding is now inside the shared project.
On monday, there will be a new release of MyFaces core 1.1.3 (api /
impl )and Tomahawk 1.1.2.
Please stay tuned or try to build myfaces from scratch ([1])
[1] http://wiki.apache.org/myfaces/Building_With_Maven
On 5/6/06, vace117 <va...@yahoo.ca> wrote:
>
> ok, I just found where tomahawk-1.1.2-SNAPSHOT was. I tried with that and
> still got the same exception as with tomahawk 1.1.3:
>
> javax.faces.FacesException: java.lang.ClassNotFoundException:
> org.apache.myfaces.el.SimpleActionMethodBinding
> at
> org.apache.myfaces.shared_impl.util.StateUtils.getAsObject(StateUtils.java:283)
> at
> org.apache.myfaces.shared_impl.util.StateUtils.reconstruct(StateUtils.java:217)
> at
> org.apache.myfaces.renderkit.html.HtmlResponseStateManager.getComponentStateToRestore(HtmlResponseStateManager.java:221)
> at
> org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreComponentState(JspStateManagerImpl.java:186)
> at
> org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:287)
> at
> org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspViewHandlerImpl.java:255)
> at
> org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.restoreView(JspTilesViewHandlerImpl.java:320)
> at
> org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:141)
> at
> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
> --
> View this message in context: http://www.nabble.com/Upgrading-to-MyFaces-1.1.2-t1567657.html#a4257510
> Sent from the MyFaces - Users forum at Nabble.com.
>
>
--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
http://jroller.com/page/mwessendorf
mwessendorf-at-gmail-dot-com
Re: Upgrading to MyFaces 1.1.2
Posted by vace117 <va...@yahoo.ca>.
ok, I just found where tomahawk-1.1.2-SNAPSHOT was. I tried with that and
still got the same exception as with tomahawk 1.1.3:
javax.faces.FacesException: java.lang.ClassNotFoundException:
org.apache.myfaces.el.SimpleActionMethodBinding
at
org.apache.myfaces.shared_impl.util.StateUtils.getAsObject(StateUtils.java:283)
at
org.apache.myfaces.shared_impl.util.StateUtils.reconstruct(StateUtils.java:217)
at
org.apache.myfaces.renderkit.html.HtmlResponseStateManager.getComponentStateToRestore(HtmlResponseStateManager.java:221)
at
org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreComponentState(JspStateManagerImpl.java:186)
at
org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:287)
at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspViewHandlerImpl.java:255)
at
org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.restoreView(JspTilesViewHandlerImpl.java:320)
at
org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:141)
at
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
--
View this message in context: http://www.nabble.com/Upgrading-to-MyFaces-1.1.2-t1567657.html#a4257510
Sent from the MyFaces - Users forum at Nabble.com.