Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P04
-
Fix Version/s: EE-3.3.0.GA_P05
-
Component/s: ICE-Components, Sample Apps
-
Labels:None
-
Environment:EE-3.3.0.GA_P04 release code
Browsers: all
Server: GlassFish 4.1.1 /using default Mojarra 2.2.12 JSF
-
Assignee Priority:P2
Description
showcase > ICE Components
When testing the ICE components from showcase using Mojarra 2.2.12 JSF, a Server Internal Error popup occurs when interacting with the demos containing a data paginator, as example:
ice:dataPaginator
ice:dataTable > All demos using a paginator
ice:dataExporter > Ignore Pagination
[#|2016-09-30T15:53:47.969-0600|SEVERE|glassfish 4.1|javax.enterprise.resource.webcontainer.jsf.application|_ThreadID=103;_ThreadName=http-l
istener-1(5);_TimeMillis=1475272427969;_LevelValue=1000;|
Error Rendering View[/showcase.xhtml]
javax.faces.FacesException: Cannot add the same component twice: j_idt477:paginatorfirst
at com.sun.faces.context.StateContext$DynamicAddRemoveListener.handleAddRemoveWithAutoPrune(StateContext.java:748)
at com.sun.faces.context.StateContext$DynamicAddRemoveListener.handleAdd(StateContext.java:675)
at com.sun.faces.context.StateContext$AddRemoveListener.processEvent(StateContext.java:347)
at com.sun.faces.context.StateContext$DynamicAddRemoveListener.processEvent(StateContext.java:565)
at javax.faces.event.SystemEvent.processListener(SystemEvent.java:108)
at javax.faces.event.ComponentSystemEvent.processListener(ComponentSystemEvent.java:118)
at com.sun.faces.application.ApplicationImpl.processListenersAccountingForAdds(ApplicationImpl.java:2218)
at com.sun.faces.application.ApplicationImpl.invokeViewListenersFor(ApplicationImpl.java:2036)
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:290)
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:245)
at javax.faces.component.UIComponentBase.publishAfterViewEvents(UIComponentBase.java:2254)
at javax.faces.component.UIComponentBase.doPostAddProcessing(UIComponentBase.java:1935)
at javax.faces.component.UIComponentBase.setParent(UIComponentBase.java:448)
at javax.faces.component.UIComponentBase$ChildrenList.add(UIComponentBase.java:2700)
at javax.faces.component.UIComponentBase$ChildrenList.add(UIComponentBase.java:2672)
at com.icesoft.faces.component.datapaginator.DataPaginatorRenderer.getLink(DataPaginatorRenderer.java:511)
at com.icesoft.faces.component.datapaginator.DataPaginatorRenderer.renderFacet(DataPaginatorRenderer.java:343)
at com.icesoft.faces.component.datapaginator.DataPaginatorRenderer.handleFacet(DataPaginatorRenderer.java:335)
at com.icesoft.faces.component.datapaginator.DataPaginatorRenderer.renderScroller(DataPaginatorRenderer.java:266)
at com.icesoft.faces.component.datapaginator.DataPaginatorRenderer.encodeEnd(DataPaginatorRenderer.java:219)
............
When testing the ICE components from showcase using Mojarra 2.2.12 JSF, a Server Internal Error popup occurs when interacting with the demos containing a data paginator, as example:
ice:dataPaginator
ice:dataTable > All demos using a paginator
ice:dataExporter > Ignore Pagination
[#|2016-09-30T15:53:47.969-0600|SEVERE|glassfish 4.1|javax.enterprise.resource.webcontainer.jsf.application|_ThreadID=103;_ThreadName=http-l
istener-1(5);_TimeMillis=1475272427969;_LevelValue=1000;|
Error Rendering View[/showcase.xhtml]
javax.faces.FacesException: Cannot add the same component twice: j_idt477:paginatorfirst
at com.sun.faces.context.StateContext$DynamicAddRemoveListener.handleAddRemoveWithAutoPrune(StateContext.java:748)
at com.sun.faces.context.StateContext$DynamicAddRemoveListener.handleAdd(StateContext.java:675)
at com.sun.faces.context.StateContext$AddRemoveListener.processEvent(StateContext.java:347)
at com.sun.faces.context.StateContext$DynamicAddRemoveListener.processEvent(StateContext.java:565)
at javax.faces.event.SystemEvent.processListener(SystemEvent.java:108)
at javax.faces.event.ComponentSystemEvent.processListener(ComponentSystemEvent.java:118)
at com.sun.faces.application.ApplicationImpl.processListenersAccountingForAdds(ApplicationImpl.java:2218)
at com.sun.faces.application.ApplicationImpl.invokeViewListenersFor(ApplicationImpl.java:2036)
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:290)
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:245)
at javax.faces.component.UIComponentBase.publishAfterViewEvents(UIComponentBase.java:2254)
at javax.faces.component.UIComponentBase.doPostAddProcessing(UIComponentBase.java:1935)
at javax.faces.component.UIComponentBase.setParent(UIComponentBase.java:448)
at javax.faces.component.UIComponentBase$ChildrenList.add(UIComponentBase.java:2700)
at javax.faces.component.UIComponentBase$ChildrenList.add(UIComponentBase.java:2672)
at com.icesoft.faces.component.datapaginator.DataPaginatorRenderer.getLink(DataPaginatorRenderer.java:511)
at com.icesoft.faces.component.datapaginator.DataPaginatorRenderer.renderFacet(DataPaginatorRenderer.java:343)
at com.icesoft.faces.component.datapaginator.DataPaginatorRenderer.handleFacet(DataPaginatorRenderer.java:335)
at com.icesoft.faces.component.datapaginator.DataPaginatorRenderer.renderScroller(DataPaginatorRenderer.java:266)
at com.icesoft.faces.component.datapaginator.DataPaginatorRenderer.encodeEnd(DataPaginatorRenderer.java:219)
............
Issue Links
- blocks
-
ICE-11144 Support for JSF 2.2 on ICEfaces 3
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion