Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.0.0.GA_P01
-
Fix Version/s: EE-3.2.0.GA
-
Component/s: Accessible Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P1
-
Salesforce Case Reference:
Description
A ClassCastException is thrown when a partial submit is fired on and ice:inputText component. The inputText component uses and el expresion for the required attribute. Sample code:
<c:set var="required" value="true" />
<ice:form id="form">
<ice:inputText id="testIceVar" value="somevalue" required="#{required}" partialSubmit="true" />
</ice:form>
On the surface, it looks like we might have some package+classname duplication between the icefaces-ee-compat.jar and the icefaces-ee-accessible.jar.
<c:set var="required" value="true" />
<ice:form id="form">
<ice:inputText id="testIceVar" value="somevalue" required="#{required}" partialSubmit="true" />
</ice:form>
On the surface, it looks like we might have some package+classname duplication between the icefaces-ee-compat.jar and the icefaces-ee-accessible.jar.
Activity
Migration
created issue -
Migration
made changes -
Field | Original Value | New Value |
---|---|---|
Reporter | Migration [ remote ] | Arran Mccullough [ arran.mccullough ] |
Migration
made changes -
Assignee | Ken Fyten [ ken.fyten ] | yip.ng [ yip.ng ] |
Fix Version/s | EE-3.2.0.GA [ 10326 ] | |
Assignee Priority | P3 [ 10012 ] |
Migration
made changes -
Attachment | Case11618Example.war [ 14951 ] |
Ken Fyten
made changes -
Comment |
[ On the surface, it looks like we might have some package+classname duplication between the icefaces-ee-compat.jar and the icefaces-ee-accessible.jar. (Restricted to icesoft-internal-developers group) ] |
Ken Fyten
made changes -
Description |
A ClassCastException is thrown when a partial submit is fired on and ice:inputText component. The inputText component uses and el expresion for the required attribute. Sample code: <c:set var="required" value="true" /> <ice:form id="form"> <ice:inputText id="testIceVar" value="somevalue" required="#{required}" partialSubmit="true" /> </ice:form> |
A ClassCastException is thrown when a partial submit is fired on and ice:inputText component. The inputText component uses and el expresion for the required attribute. Sample code:
<c:set var="required" value="true" /> <ice:form id="form"> <ice:inputText id="testIceVar" value="somevalue" required="#{required}" partialSubmit="true" /> </ice:form> On the surface, it looks like we might have some package+classname duplication between the icefaces-ee-compat.jar and the icefaces-ee-accessible.jar. |
Ken Fyten
made changes -
Comment |
[ On the surface, it looks like we might have some package+classname duplication between the icefaces-ee-compat.jar and the icefaces-ee-accessible.jar. (Restricted to icesoft-internal-developers group) ] |
Mark Collette
made changes -
Arran Mccullough
made changes -
Salesforce Case Reference | 5007000000O9qrZAAR |
Ken Fyten
made changes -
Assignee Priority | P3 [ 10012 ] | P1 [ 10010 ] |
Ken Fyten
made changes -
Salesforce Case Reference | 5007000000O9qrZAAR |
Arran Mccullough
made changes -
Salesforce Case Reference | 5007000000O9qrZAAR |
yip.ng
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Error Stacktrace:
java.lang.ClassCastException: com.icesoft.faces.el.PartialSubmitValueBinding cannot be cast to java.io.Serializable
at javax.faces.component.StateHolderSaver.<init>(StateHolderSaver.java:103)
at javax.faces.component.UIComponentBase.saveAttachedState(UIComponentBase.java:1695)
at javax.faces.component.ComponentStateHelper.saveMap(ComponentStateHelper.java:378)
at javax.faces.component.ComponentStateHelper.saveState(ComponentStateHelper.java:256)
at javax.faces.component.UIComponentBase.saveState(UIComponentBase.java:1501)
at javax.faces.component.UIOutput.saveState(UIOutput.java:222)
at javax.faces.component.UIInput.saveState(UIInput.java:1385)
at com.icesoft.faces.component.ext.HtmlInputText.saveState(HtmlInputText.java:579)
at com.sun.faces.application.view.StateManagementStrategyImpl$1.visit(StateManagementStrategyImpl.java:168)
at com.sun.faces.component.visit.FullVisitContext.invokeVisitCallback(FullVisitContext.java:151)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1590)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1601)
at javax.faces.component.UIForm.visitTree(UIForm.java:344)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1601)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1601)
at com.sun.faces.application.view.StateManagementStrategyImpl.saveView(StateManagementStrategyImpl.java:160)
at com.sun.faces.application.StateManagerImpl.saveView(StateManagerImpl.java:133)
at javax.faces.application.StateManager.getViewState(StateManager.java:553)
at org.icefaces.impl.event.FixViewState$ScriptWriter.encode(FixViewState.java:64)
at org.icefaces.impl.event.UIOutputWriter.encodeBegin(UIOutputWriter.java:27)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1755)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1760)
at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:153)
at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:981)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1757)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:391)
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:964)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:304)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)