[richfaces-issues] [JBoss JIRA] Commented: (RF-8937) Queue: javax.faces.component.StateHolderSaver cannot be cast to [Ljava.lang.Object
Pavol Pitonak (JIRA)
jira-events at lists.jboss.org
Thu Jul 15 10:34:59 EDT 2010
[ https://jira.jboss.org/browse/RF-8937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12539415#action_12539415 ]
Pavol Pitonak commented on RF-8937:
-----------------------------------
The same problem occures on status page in richfaces-showcase
> Queue: javax.faces.component.StateHolderSaver cannot be cast to [Ljava.lang.Object
> ----------------------------------------------------------------------------------
>
> Key: RF-8937
> URL: https://jira.jboss.org/browse/RF-8937
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component
> Affects Versions: 4.0.0.Milestone1
> Environment: RichFaces v.4.0.0.20100713-M1 SVN r.18029, Tomcat 6.0.28
> Reporter: Pavol Pitonak
>
> Queue in richfaces-showcase doesn't work.
> 1. type something and wait
> 2. request is sent, page is updated, the following appears in log
> 2010-07-15 16:29:30,999 WARN [org.richfaces.log.Components] Queue with name 'j_idt120:form' has already been registered
> 3. type something and wait
> 4. request is sent and an exception is thrown
> javax.faces.FacesException: Unexpected error restoring state for component with id j_idt120:form:myinput. Cause: java.lang.ClassCastException: javax.faces.component.StateHolderSaver cannot be cast to [Ljava.lang.Object;.
> at com.sun.faces.application.view.StateManagementStrategyImpl$1.visit(StateManagementStrategyImpl.java:250)
> at com.sun.faces.component.visit.FullVisitContext.invokeVisitCallback(FullVisitContext.java:147)
> at javax.faces.component.UIComponent.visitTree(UIComponent.java:1446)
> at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
> at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
> at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
> at javax.faces.component.UIForm.visitTree(UIForm.java:333)
> at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
> at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
> at javax.faces.component.UINamingContainer.visitTree(UINamingContainer.java:163)
> at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
> at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
> at com.sun.faces.application.view.StateManagementStrategyImpl.restoreView(StateManagementStrategyImpl.java:234)
> at com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:177)
> at com.sun.faces.application.view.ViewHandlingStrategy.restoreView(ViewHandlingStrategy.java:119)
> at com.sun.faces.application.view.FaceletViewHandlingStrategy.restoreView(FaceletViewHandlingStrategy.java:438)
> at com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:144)
> at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:182)
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
> at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:107)
> at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> at java.lang.Thread.run(Thread.java:636)
> Caused by: java.lang.ClassCastException: javax.faces.component.StateHolderSaver cannot be cast to [Ljava.lang.Object;
> at org.ajax4jsf.component.behavior.AjaxBehavior.restoreState(AjaxBehavior.java:353)
> at javax.faces.component.UIComponentBase.restoreBehaviors(UIComponentBase.java:1992)
> at javax.faces.component.UIComponentBase.restoreBehaviorsState(UIComponentBase.java:1959)
> at javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:1438)
> at javax.faces.component.UIOutput.restoreState(UIOutput.java:255)
> at javax.faces.component.UIInput.restoreState(UIInput.java:1359)
> at com.sun.faces.application.view.StateManagementStrategyImpl$1.visit(StateManagementStrategyImpl.java:242)
> ... 33 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list