internal concurrent modification exception when running code coverage on multi-module project

I have a project with multiple maven modules.  If I run Idea code coverage, with "In whole project" set, and tracing set, I get this exception with some of the tests:

java.util.ConcurrentModificationException
 at java.util.HashMap$HashIterator.nextEntry(HashMap.java:806)
 at java.util.HashMap$KeyIterator.next(HashMap.java:841)
 at com.intellij.rt.coverage.data.ProjectData.testEnded(ProjectData.java:134)
 at com.intellij.coverage.listeners.IDEATestNGCoverageListener.onTestSuccess(IDEATestNGCoverageListener.java:27)


These tests run fine when coverage is not being run, and they run fine in maven.  This stack trace is completely outside any of my test classes.

The version is 11.1.1

Thanks
1 comment

Please sign in to leave a comment.