java.util.ConcurrentModificationException

ICEsoft JIRA Issue Tracker | Jack Van Ooststroom | 1 year ago
  1. 0

    A ConcurrentModificationException is thrown for concurrent access to the pendingNotifications in LocalPushGroupManager: WARNING: Failed to respond to request java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:839) at java.util.HashMap$KeyIterator.next(HashMap.java:874) at java.util.AbstractCollection.toArray(AbstractCollection.java:195) at org.icepush.LocalPushGroupManager.getPendingNotifications(LocalPushGroupManager.java:133) at org.icepush.BlockingConnectionServer$RunningServer.service(BlockingConnectionServer.java:338) at org.icepush.BlockingConnectionServer.service(BlockingConnectionServer.java:96) at org.icepush.SequenceTaggingServer.service(SequenceTaggingServer.java:54) at org.icepush.PushStormDetectionServer.service(PushStormDetectionServer.java:52) at org.icepush.servlet.AsyncAdaptingServlet.service(AsyncAdaptingServlet.java:68) at org.icepush.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:56) at org.icepush.servlet.PathDispatcher.service(PathDispatcher.java:39) at org.icepush.servlet.BrowserDispatcher$BrowserEntry.service(BrowserDispatcher.java:101) at org.icepush.servlet.BrowserDispatcher.service(BrowserDispatcher.java:45) at org.icepush.servlet.ConfigurationServlet.service(ConfigurationServlet.java:101) at org.icepush.servlet.PathDispatcher.service(PathDispatcher.java:39) at org.icepush.servlet.MainServlet.service(MainServlet.java:131) at org.icefaces.impl.push.servlet.ICEpushResourceHandler$ICEpushResourceHandlerImpl.handleResourceRequest(ICEpushResourceHandler.java:235) at org.icefaces.impl.push.servlet.ICEpushResourceHandler.handleResourceRequest(ICEpushResourceHandler.java:128) at org.icefaces.impl.application.SessionTimeoutMonitor.handleSessionAwareResourceRequest(SessionTimeoutMonitor.java:63) at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(SessionAwareResourceHandlerWrapper.java:40) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125) at org.icefaces.impl.application.AuxUploadResourceHandler.handleResourceRequest(AuxUploadResourceHandler.java:82) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:591) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:744) This one is similar to PUSH-277 but requires additional backporting.

    ICEsoft JIRA Issue Tracker | 1 year ago | Jack Van Ooststroom
    java.util.ConcurrentModificationException
  2. 0

    A ConcurrentModificationException is thrown for concurrent access to the pendingNotifications in LocalPushGroupManager: WARNING: Failed to respond to request java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:839) at java.util.HashMap$KeyIterator.next(HashMap.java:874) at java.util.AbstractCollection.toArray(AbstractCollection.java:195) at org.icepush.LocalPushGroupManager.getPendingNotifications(LocalPushGroupManager.java:133) at org.icepush.BlockingConnectionServer$RunningServer.service(BlockingConnectionServer.java:338) at org.icepush.BlockingConnectionServer.service(BlockingConnectionServer.java:96) at org.icepush.SequenceTaggingServer.service(SequenceTaggingServer.java:54) at org.icepush.PushStormDetectionServer.service(PushStormDetectionServer.java:52) at org.icepush.servlet.AsyncAdaptingServlet.service(AsyncAdaptingServlet.java:68) at org.icepush.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:56) at org.icepush.servlet.PathDispatcher.service(PathDispatcher.java:39) at org.icepush.servlet.BrowserDispatcher$BrowserEntry.service(BrowserDispatcher.java:101) at org.icepush.servlet.BrowserDispatcher.service(BrowserDispatcher.java:45) at org.icepush.servlet.ConfigurationServlet.service(ConfigurationServlet.java:101) at org.icepush.servlet.PathDispatcher.service(PathDispatcher.java:39) at org.icepush.servlet.MainServlet.service(MainServlet.java:131) at org.icefaces.impl.push.servlet.ICEpushResourceHandler$ICEpushResourceHandlerImpl.handleResourceRequest(ICEpushResourceHandler.java:235) at org.icefaces.impl.push.servlet.ICEpushResourceHandler.handleResourceRequest(ICEpushResourceHandler.java:128) at org.icefaces.impl.application.SessionTimeoutMonitor.handleSessionAwareResourceRequest(SessionTimeoutMonitor.java:63) at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(SessionAwareResourceHandlerWrapper.java:40) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125) at org.icefaces.impl.application.AuxUploadResourceHandler.handleResourceRequest(AuxUploadResourceHandler.java:82) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:591) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:744) This one is similar to PUSH-277 but requires additional backporting.

    ICEsoft JIRA Issue Tracker | 1 year ago | Jack Van Ooststroom
    java.util.ConcurrentModificationException
  3. 0

    Prevent ConcurrentModificationException when creating ArrayList from LinkedHashSet

    Stack Overflow | 3 years ago | Vrushank
    java.util.ConcurrentModificationException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    49664 - "Failed to execute runnable (java.util.ConcurrentModificationException)..." might be generated in SAS® Promotion Optimization

    sas.com | 1 week ago
    org.eclipse.swt.SWTException: Failed to execute runnable (java.util.ConcurrentModificationException)
  6. 0

    Concurrent Modification

    Google Groups | 9 years ago | John
    java.util.ConcurrentModificationException

    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.HashMap$HashIterator.nextEntry()
    2. Java RT
      AbstractCollection.toArray
      1. java.util.HashMap$HashIterator.nextEntry(HashMap.java:839)
      2. java.util.HashMap$KeyIterator.next(HashMap.java:874)
      3. java.util.AbstractCollection.toArray(AbstractCollection.java:195)
      3 frames
    3. org.icepush
      PushStormDetectionServer.service
      1. org.icepush.LocalPushGroupManager.getPendingNotifications(LocalPushGroupManager.java:133)
      2. org.icepush.BlockingConnectionServer$RunningServer.service(BlockingConnectionServer.java:338)
      3. org.icepush.BlockingConnectionServer.service(BlockingConnectionServer.java:96)
      4. org.icepush.SequenceTaggingServer.service(SequenceTaggingServer.java:54)
      5. org.icepush.PushStormDetectionServer.service(PushStormDetectionServer.java:52)
      5 frames
    4. org.icepush.servlet
      MainServlet.service
      1. org.icepush.servlet.AsyncAdaptingServlet.service(AsyncAdaptingServlet.java:68)
      2. org.icepush.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:56)
      3. org.icepush.servlet.PathDispatcher.service(PathDispatcher.java:39)
      4. org.icepush.servlet.BrowserDispatcher$BrowserEntry.service(BrowserDispatcher.java:101)
      5. org.icepush.servlet.BrowserDispatcher.service(BrowserDispatcher.java:45)
      6. org.icepush.servlet.ConfigurationServlet.service(ConfigurationServlet.java:101)
      7. org.icepush.servlet.PathDispatcher.service(PathDispatcher.java:39)
      8. org.icepush.servlet.MainServlet.service(MainServlet.java:131)
      8 frames
    5. org.icefaces.impl
      SessionAwareResourceHandlerWrapper.handleResourceRequest
      1. org.icefaces.impl.push.servlet.ICEpushResourceHandler$ICEpushResourceHandlerImpl.handleResourceRequest(ICEpushResourceHandler.java:235)
      2. org.icefaces.impl.push.servlet.ICEpushResourceHandler.handleResourceRequest(ICEpushResourceHandler.java:128)
      3. org.icefaces.impl.application.SessionTimeoutMonitor.handleSessionAwareResourceRequest(SessionTimeoutMonitor.java:63)
      4. org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(SessionAwareResourceHandlerWrapper.java:40)
      4 frames
    6. JavaEE 7
      ResourceHandlerWrapper.handleResourceRequest
      1. javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125)
      2. javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125)
      3. javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125)
      4. javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125)
      4 frames
    7. org.icefaces.impl
      AuxUploadResourceHandler.handleResourceRequest
      1. org.icefaces.impl.application.AuxUploadResourceHandler.handleResourceRequest(AuxUploadResourceHandler.java:82)
      1 frame
    8. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:591)
      1 frame
    9. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    10. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    11. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
      10 frames
    12. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
      3 frames
    13. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      2 frames
    14. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:744)
      1 frame