trying to use richfaces with existing application - yields v
wlittle67 Jan 21, 2008 6:20 PMHello,
I'm new to RichFaces and having some difficulties running my application when including the Richfaces libraries in the application path. Many of the pages (no of which have any Richfaces components) work just as they did before including the RichFaces libraries, but a few throw various errors when attempting to render the page.
Error type 1:
java.lang.ClassCastException: com.reardeninc.tigris.ui.facesutil.RLabelConverter cannot be cast to javax.faces.el.MethodBinding
at javax.faces.component.UICommand.restoreState(UICommand.java:265)
at javax.faces.component.html.HtmlCommandLink.restoreState(HtmlCommandLink.java:838)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1007)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1019)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1019)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1019)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1019)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1019)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1019)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1019)
at org.ajax4jsf.application.AjaxStateManager.restoreView(AjaxStateManager.java:246)
Error type 2:
java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to java.util.HashMap
at javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:1114)
at javax.faces.component.UICommand.restoreState(UICommand.java:264)
at javax.faces.component.html.HtmlCommandButton.restoreState(HtmlCommandButton.java:826)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1007)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1019)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1019)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1019)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1019)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1019)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1019)
at org.ajax4jsf.application.AjaxStateManager.restoreView(AjaxStateManager.java:246)
I have read through the getting started guide and was under the impression non-richfaces would not be affected by the new library code.
Any hints as on what I should be looking at here as the culprit would be much appreciated.