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.

Reply via email to