java.util.ConcurrentModificationException

ICEsoft JIRA Issue Tracker | Liana Munroe | 2 years ago
  1. 0

    Details of deployment: showcase built with servlet-profile from ICEfaces EE-3.3.0 maintenance branch r44538, or using showcase.war from the Jenkins Build 01. A weblogic.xml file containing only the following was added to the WEB-INF folder inside the .war file <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app"> <container-descriptor> <prefer-web-inf-classes>true</prefer-web-inf-classes> </container-descriptor> </weblogic-web-app> The showcase application loads but when trying to navigate to any demo using the links in the application there is Error 500--Internal Server Error. If using the actual URL of a demo directly, such as (http://ec2-54-184-121-30.us-west-2.compute.amazonaws.com:7001/showcase/showcase.jsf?grp=aceMenu&exp=dataTableBean) the demo will load and function as expected. Error 500--Internal Server Error java.util.ConcurrentModificationException at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373) at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:392) at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:391) at java.util.AbstractMap.equals(AbstractMap.java:420) at java.util.Collections$SynchronizedMap.equals(Collections.java:2020) at com.sun.faces.context.SessionMap.put(SessionMap.java:138) at com.sun.faces.context.SessionMap.put(SessionMap.java:61) at com.sun.faces.renderkit.ServerSideStateHelper.writeState(ServerSideStateHelper.java:243) at com.sun.faces.renderkit.ResponseStateManagerImpl.writeState(ResponseStateManagerImpl.java:122) at com.sun.faces.application.StateManagerImpl.writeState(StateManagerImpl.java:113) at com.sun.faces.application.view.WriteBehindStateWriter.flushToWriter(WriteBehindStateWriter.java:225) at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:464) at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125) at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120) 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 weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    ICEsoft JIRA Issue Tracker | 2 years ago | Liana Munroe
    java.util.ConcurrentModificationException
  2. 0

    Details of deployment: showcase built with servlet-profile from ICEfaces EE-3.3.0 maintenance branch r44538, or using showcase.war from the Jenkins Build 01. A weblogic.xml file containing only the following was added to the WEB-INF folder inside the .war file <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app"> <container-descriptor> <prefer-web-inf-classes>true</prefer-web-inf-classes> </container-descriptor> </weblogic-web-app> The showcase application loads but when trying to navigate to any demo using the links in the application there is Error 500--Internal Server Error. If using the actual URL of a demo directly, such as (http://ec2-54-184-121-30.us-west-2.compute.amazonaws.com:7001/showcase/showcase.jsf?grp=aceMenu&exp=dataTableBean) the demo will load and function as expected. Error 500--Internal Server Error java.util.ConcurrentModificationException at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373) at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:392) at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:391) at java.util.AbstractMap.equals(AbstractMap.java:420) at java.util.Collections$SynchronizedMap.equals(Collections.java:2020) at com.sun.faces.context.SessionMap.put(SessionMap.java:138) at com.sun.faces.context.SessionMap.put(SessionMap.java:61) at com.sun.faces.renderkit.ServerSideStateHelper.writeState(ServerSideStateHelper.java:243) at com.sun.faces.renderkit.ResponseStateManagerImpl.writeState(ResponseStateManagerImpl.java:122) at com.sun.faces.application.StateManagerImpl.writeState(StateManagerImpl.java:113) at com.sun.faces.application.view.WriteBehindStateWriter.flushToWriter(WriteBehindStateWriter.java:225) at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:464) at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125) at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120) 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 weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    ICEsoft JIRA Issue Tracker | 2 years ago | Liana Munroe
    java.util.ConcurrentModificationException
  3. 0

    (6.3.1) (Regression) Mojarra 2.1.28-redhat-5 causes ConcurrentModificationExceptions on OpenJDK 1.6 and IBM JDK 1.6

    https://bugzilla.redhat.com/bugzilla/ | 2 years ago | Ron Šmeral
    java.util.ConcurrentModificationException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java ConcurrentModificationException only in deployed environment

    Stack Overflow | 3 months ago | matikin9
    java.util.ConcurrentModificationException
  6. 0

    Mojarra 2.1.29 not compatible with JDK 1.6

    Stack Overflow | 2 years ago
    java.util.ConcurrentModificationException

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.util.ConcurrentModificationException

      No message provided

      at java.util.LinkedHashMap$LinkedHashIterator.nextEntry()
    2. Java RT
      Collections$SynchronizedMap.equals
      1. java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373)
      2. java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:392)
      3. java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:391)
      4. java.util.AbstractMap.equals(AbstractMap.java:420)
      5. java.util.Collections$SynchronizedMap.equals(Collections.java:2020)
      5 frames
    3. JSF
      MultiViewHandler.renderView
      1. com.sun.faces.context.SessionMap.put(SessionMap.java:138)
      2. com.sun.faces.context.SessionMap.put(SessionMap.java:61)
      3. com.sun.faces.renderkit.ServerSideStateHelper.writeState(ServerSideStateHelper.java:243)
      4. com.sun.faces.renderkit.ResponseStateManagerImpl.writeState(ResponseStateManagerImpl.java:122)
      5. com.sun.faces.application.StateManagerImpl.writeState(StateManagerImpl.java:113)
      6. com.sun.faces.application.view.WriteBehindStateWriter.flushToWriter(WriteBehindStateWriter.java:225)
      7. com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:464)
      8. com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125)
      8 frames
    4. JavaEE 7
      ViewHandlerWrapper.renderView
      1. javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286)
      1 frame
    5. JSF
      LifecycleImpl.render
      1. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
      2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      3 frames
    6. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
      1 frame
    7. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
      4. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      5. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      6. weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      7. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      8. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
      9. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
      9 frames
    8. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    9. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      1 frame
    10. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
      2. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      3. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
      3 frames
    11. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
      2 frames