ICEfaces
  1. ICEfaces
  2. ICE-10344

ConcurrentModificationException when compat components are used with push or ace:fileEntry

    Details

      Description

      This has been reported by three different Customers and they all have the following in common:-
      1) using compat components with either push or ace:fileEntry
      2) concurrentModificationException including the following in their stack trace:-
      .....
      Caused by: java.util.ConcurrentModificationException
      at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:953)
      at java.util.LinkedList$ListItr.next(LinkedList.java:886)
      at org.icefaces.impl.application.WindowScopeManager.lookupWindowScope(WindowScopeManager.java:93)
      .....
      1. 2014-08-12_ConcurrentModificationException.txt
        37 kB
        Judy Guglielmin
      2. anotherStackTrace.txt
        9 kB
        Judy Guglielmin
      3. TwoMoreExceptions.txt
        12 kB
        Judy Guglielmin

        Activity

        Hide
        Judy Guglielmin added a comment -

        One user also reported a NoSuchElementException which refers to the same scenario as above (compat components with push) and WindowsScopeManager iteration through a linked list -same line as other exception listed above:
        Aug 08, 2014 2:59:09 PM org.icefaces.impl.application.ExtendedExceptionHandler handle
        Warnung: queued exception
        javax.faces.FacesException: java.util.NoSuchElementException
        at javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:2356)
        at com.sun.faces.renderkit.html_basic.TextRenderer.getEndTextToRender(TextRenderer.java:97)
        at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:170)
        at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:881)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782)
        at org.icefaces.ace.component.datatable.DataTableRowRenderer.encodeRegularCell(DataTableRowRenderer.java:239)
        at org.icefaces.ace.component.datatable.DataTableRowRenderer.encodeRow(DataTableRowRenderer.java:95)
        at org.icefaces.ace.component.datatable.DataTableRenderer.encodeTableBody(DataTableRenderer.java:305)
        at org.icefaces.ace.component.datatable.DataTableRenderer.encodeTable(DataTableRenderer.java:255)
        at org.icefaces.ace.component.datatable.DataTableRenderer.encodeEntirety(DataTableRenderer.java:182)
        at org.icefaces.ace.component.datatable.DataTableRenderer.encodeEnd(DataTableRenderer.java:132)
        at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:881)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)
        at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
        at org.icefaces.impl.renderkit.RendererWrapper.encodeChildren(RendererWrapper.java:49)
        at org.icefaces.impl.renderkit.RendererWrapper.encodeChildren(RendererWrapper.java:49)
        :
        :
        :
        Caused by: java.util.NoSuchElementException
        at java.util.LinkedList$ListItr.next(LinkedList.java:888)
        at org.icefaces.impl.application.WindowScopeManager.lookupWindowScope(WindowScopeManager.java:93)
        at org.icefaces.impl.application.WindowELResolver.getScope(WindowELResolver.java:66)
        at org.icefaces.impl.application.WindowELResolver.getValue(WindowELResolver.java:36)
        at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
        at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
        at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:72)
        at org.apache.el.parser.AstValue.getValue(AstValue.java:161)
        at org.apache.el.parser.AstChoice.getValue(AstChoice.java:45)
        at org.apache.el.parser.AstDeferredExpression.getValue(AstDeferredExpression.java:44)
        at org.apache.el.parser.AstCompositeExpression.getValue(AstCompositeExpression.java:50)
        at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:185)
        at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)
        at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194)
        at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:182)
        at javax.faces.component.html.HtmlOutputText.getStyle(HtmlOutputText.java:160)
        at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:2348)
        ... 69 more

        Show
        Judy Guglielmin added a comment - One user also reported a NoSuchElementException which refers to the same scenario as above (compat components with push) and WindowsScopeManager iteration through a linked list - same line as other exception listed above: Aug 08, 2014 2:59:09 PM org.icefaces.impl.application.ExtendedExceptionHandler handle Warnung: queued exception javax.faces.FacesException: java.util.NoSuchElementException at javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:2356) at com.sun.faces.renderkit.html_basic.TextRenderer.getEndTextToRender(TextRenderer.java:97) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:170) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:881) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782) at org.icefaces.ace.component.datatable.DataTableRowRenderer.encodeRegularCell(DataTableRowRenderer.java:239) at org.icefaces.ace.component.datatable.DataTableRowRenderer.encodeRow(DataTableRowRenderer.java:95) at org.icefaces.ace.component.datatable.DataTableRenderer.encodeTableBody(DataTableRenderer.java:305) at org.icefaces.ace.component.datatable.DataTableRenderer.encodeTable(DataTableRenderer.java:255) at org.icefaces.ace.component.datatable.DataTableRenderer.encodeEntirety(DataTableRenderer.java:182) at org.icefaces.ace.component.datatable.DataTableRenderer.encodeEnd(DataTableRenderer.java:132) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:881) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786) at javax.faces.render.Renderer.encodeChildren(Renderer.java:168) at org.icefaces.impl.renderkit.RendererWrapper.encodeChildren(RendererWrapper.java:49) at org.icefaces.impl.renderkit.RendererWrapper.encodeChildren(RendererWrapper.java:49) : : : Caused by: java.util.NoSuchElementException at java.util.LinkedList$ListItr.next(LinkedList.java:888) at org.icefaces.impl.application.WindowScopeManager.lookupWindowScope(WindowScopeManager.java:93) at org.icefaces.impl.application.WindowELResolver.getScope(WindowELResolver.java:66) at org.icefaces.impl.application.WindowELResolver.getValue(WindowELResolver.java:36) at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176) at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203) at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:72) at org.apache.el.parser.AstValue.getValue(AstValue.java:161) at org.apache.el.parser.AstChoice.getValue(AstChoice.java:45) at org.apache.el.parser.AstDeferredExpression.getValue(AstDeferredExpression.java:44) at org.apache.el.parser.AstCompositeExpression.getValue(AstCompositeExpression.java:50) at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:185) at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109) at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194) at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:182) at javax.faces.component.html.HtmlOutputText.getStyle(HtmlOutputText.java:160) at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:2348) ... 69 more
        Hide
        Mircea Toma added a comment -

        Resolved by commit #43354 which represents the back-porting of ICE-10254 fixes.

        Show
        Mircea Toma added a comment - Resolved by commit #43354 which represents the back-porting of ICE-10254 fixes.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: