Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Gmap
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial
Description
Joanne Bai wrote:
> Glimmer/Compat revision #19959
> Server tested: Tomcat 6
> Browser tested: FF3.5
>Components that are not available at all
>- File Upload
>- Google Map
>- Data Exporter
> Glimmer/Compat revision #19959
> Server tested: Tomcat 6
> Browser tested: FF3.5
>Components that are not available at all
>- File Upload
>- Google Map
>- Data Exporter
It come across that GMap component breaks and throw the following exception only when it gets rendered dynamically. If its the GMap component is a part of Initial rendering then it works fine.
javax.faces.FacesException: Unexpected error restoring state for component with id javax_faces_locat
ion_HEAD. Cause: java.lang.ClassCastException: com.sun.faces.application.view.StateHolderSaver.
at com.sun.faces.application.view.StateManagementStrategyImpl$2.visit(StateManagementStrateg
yImpl.java:240)
at com.sun.faces.component.visit.FullVisitContext.invokeVisitCallback(FullVisitContext.java:
147)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1443)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1454)
at com.sun.faces.application.view.StateManagementStrategyImpl.restoreView(StateManagementStr
ategyImpl.java:224)
at com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:177)
at com.sun.faces.application.view.ViewHandlingStrategy.restoreView(ViewHandlingStrategy.java
:131)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.restoreView(FaceletViewHandlin
gStrategy.java:429)
at com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:143)
at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:288)
at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:288)
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:199)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:110)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:310)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava: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:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
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:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja
va:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)