ConcurrentModificationException
See original GitHub issueWhen running a test class using 6.9.13.8
the tests pass, but the following error is printed. This does not occur in 6.9.12
. (Running via Eclipse)
[TestNG] Reporter org.testng.reporters.JUnitReportReporter@2b552920 failed
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.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:126)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:152)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:57)
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:49 (13 by maintainers)
Top Results From Across the Web
ConcurrentModificationException (Java Platform SE 7 )
This exception may be thrown by methods that have detected concurrent modification of an object when such modification is not permissible.
Read more >Avoiding the ConcurrentModificationException in Java
A short insight in Java's ConcurrentModificationException, why it happens and how to avoid it.
Read more >How to Avoid the Concurrent Modification Exception in Java
The ConcurrentModificationException in Java occurs when an object is attempted to be modified concurrently without permission.
Read more >java.util.ConcurrentModificationException - DigitalOcean
java.util.ConcurrentModificationException is a very common exception when working with Java collection classes. Java Collection classes are fail ...
Read more >How to avoid "ConcurrentModificationException" while ...
Of course, I get a ConcurrentModificationException when trying to remove items from the list at the same time when iterating myArrayList .
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The fix should be available in the next release.
When shall we release next version. See the problem on 6.9.13.8 with Eclipse. Thanks!