java.util.ConcurrentModificationException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via javacodegeeks.com by Unknown author

Causes : The Collection is internally modified, while a thread is iterating over it. OR after the creation of an iterator, the Collection is internally modified by any method other than the iterator’s own methods for removal and addition.

,
via oracle.com by Unknown author

In order to avoid more than one threads accessing or modifying the same object, you can synchronize them over the object, in order to allow only one thread to manipulate it over time.

Solutions on the web

via GitHub by azell
, 1 year ago
This exception has no message.
via GitHub by ph-hs
, 1 year ago
This exception has no message.
via GitHub by cbeust
, 7 months ago
via Google Groups by Sudarshan Hegde, 11 months ago
java.util.ConcurrentModificationException:
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901)
at java.util.ArrayList$Itr.next(ArrayList.java:851)
at org.testng.reporters.JUnitReportReporter.getNextConfiguration(JUnitReportReporter.java:220)
at org.testng.reporters.JUnitReportReporter.generateReport(JUnitReportReporter.java:105)
at org.testng.TestNG.generateReports(TestNG.java:1175)
at org.testng.TestNG.run(TestNG.java:1102)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:132)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:147)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)

Users with the same issue

Once, 1 week ago
Once, 1 month ago
Once, 1 month ago
Once, 1 month ago
Once, 7 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.