0 Replies Latest reply on Oct 31, 2007 7:09 PM by Victor Velásquez

    Error Integrting RichFaces with an existing project.

    Victor Velásquez Newbie

      Hi,

      I have a project in production, the project use JSF 1.1 RI + AjaxanyWhere + Tomahawk (My Faces Extensions) + Spring Framework in a tomcat 5.5 server; The client require a suggest component into several pages, I like to use the suggestionBox but when I try to integrate the project with RichFaces 3.1.2.GA the folowing exception is throws:

      java.lang.IllegalStateException: co.com.psl.jbrain.jsf.component.html.datatable.HeaderPanelGrid$1
       javax.faces.component.StateHolderSaver.restore(StateHolderSaver.java:80)
       javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1277)
       javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:1129)
       javax.faces.component.html.HtmlPanelGroup.restoreState(HtmlPanelGroup.java:109)
       org.apache.myfaces.component.html.ext.HtmlPanelGroup.restoreState(HtmlPanelGroup.java:148)
       org.apache.myfaces.custom.datascroller.HtmlDataScroller.restoreState(HtmlDataScroller.java:823)
       javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1007)
       javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1019)
       javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1019)
       javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1019)
       javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1019)
       javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1033)
       javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1019)
       javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1019)
       javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1019)
       org.ajax4jsf.application.AjaxStateManager.restoreView(AjaxStateManager.java:246)
       com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:228)
       com.apress.projsf.weblets.faces.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:77)
       org.ajax4jsf.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:116)
       org.ajax4jsf.application.AjaxViewHandler.restoreView(AjaxViewHandler.java:159)
       com.apress.projsf.mabon.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:77)
       org.ajax4jsf.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:116)
       org.ajax4jsf.application.AjaxViewHandler.restoreView(AjaxViewHandler.java:159)
       com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:157)
       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.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:97)
       co.com.auteco.impacta.core.web.SecurityFilter.doFilter(SecurityFilter.java:173)
       org.ajaxanywhere.AAFilter.doFilter(AAFilter.java:46)
       org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
      


      I think initially that the error could be something int the web.xml, but if I only copy the 3 jars in my project the problem appear.

      Thanks.