TestNG Stacktrace

Using the TestNG plugin on the latest build of IDEA (#6107), I've hit two issues today:

1) If you accidentally extend an object with itself, the processor maxes out at 100% CPU usage. IDEA has to be forcefully killed at this point. The problem goes away if you remove the TestNG plug-in.

2) I've just had the following stack-trace thrown:

No message
java.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449)
at java.util.AbstractList$Itr.next(AbstractList.java:420)
at com.theoryinpractice.testng.TestNGConsoleView.setView(TestNGConsoleView.java:181)
at com.theoryinpractice.testng.TestNGConsoleView.reset(TestNGConsoleView.java:120)
at com.theoryinpractice.testng.ui.TestNGResults$1.valueChanged(TestNGResults.java:88)
at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:629)
at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1078)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:287)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:170)
at com.theoryinpractice.testng.ui.TestNGResults.finish(TestNGResults.java:273)
at com.theoryinpractice.testng.model.TestNGRemoteListener.onFinish(TestNGRemoteListener.java:27)
at com.theoryinpractice.testng.model.IDEARemoteTestRunnerClient$3.run(IDEARemoteTestRunnerClient.java:51)
at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:3)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:16)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:8)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:36)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:184)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

1 comment
Comment actions Permalink

Both issues are fixed in the next version, thanks for the report!

0

Please sign in to leave a comment.