java.util.ConcurrentModificationException

Stack Overflow | Shimrit | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    close socket wakes-up selector

    Stack Overflow | 6 months ago | Shimrit
    java.util.ConcurrentModificationException

    Root Cause Analysis

    1. java.util.ConcurrentModificationException

      No message provided

      at java.util.HashMap$HashIterator.nextNode()
    2. Java RT
      Collections$UnmodifiableCollection.forEach
      1. java.util.HashMap$HashIterator.nextNode(HashMap.java:1437)
      2. java.util.HashMap$KeyIterator.next(HashMap.java:1461)
      3. java.lang.Iterable.forEach(Iterable.java:74)
      4. java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1080)
      4 frames
    3. mypackage
      IncomingReactor.shutDown
      1. mypackage.IncomingReactor.shutDown(IncomingReactor.java:129)
      1 frame
    4. mypackage.tests
      TestIncomingReactor.testMaximumConnectionsWithMultipleThreads
      1. mypackage.tests.TestIncomingReactor.testMaximumConnectionsWithMultipleThreads(TestIncomingReactor.java:177)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    6. TestNG
      RemoteTestNGStarter.main
      1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
      2. org.testng.internal.Invoker.invokeMethod(Invoker.java:659)
      3. org.testng.internal.Invoker.invokeTestMethod(Invoker.java:845)
      4. org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1153)
      5. org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
      6. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
      7. org.testng.TestRunner.privateRun(TestRunner.java:771)
      8. org.testng.TestRunner.run(TestRunner.java:621)
      9. org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
      10. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
      11. org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
      12. org.testng.SuiteRunner.run(SuiteRunner.java:259)
      13. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      14. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      15. org.testng.TestNG.runSuitesSequentially(TestNG.java:1199)
      16. org.testng.TestNG.runSuitesLocally(TestNG.java:1124)
      17. org.testng.TestNG.run(TestNG.java:1032)
      18. org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:74)
      19. org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:124)
      19 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    8. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
      1 frame