TESTNG-J v1.1.1 bug with latest IDEA 7782

I'm getting the following exception when trying to launch a config for a TestNG test:

Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(483,39),button=1,modifiers=Button1,clickCount=1] on frame1: com.theoryinpractice.testng.TestNGConsoleView.createUpDownStacktraceActions()[Lcom/intellij/openapi/actionSystem/AnAction;
java.lang.AbstractMethodError: com.theoryinpractice.testng.TestNGConsoleView.createUpDownStacktraceActions()[Lcom/intellij/openapi/actionSystem/AnAction;
at com.intellij.execution.runners.RunContentBuilder.a(RunContentBuilder.java:79)
at com.intellij.execution.runners.RunContentBuilder.a(RunContentBuilder.java:83)
at com.intellij.execution.runners.RunContentBuilder.showRunContent(RunContentBuilder.java:21)
at com.intellij.execution.runners.RunStrategyImpl.a(RunStrategyImpl.java:4)
at com.intellij.execution.runners.RunStrategyImpl.access$200(RunStrategyImpl.java:1)
at com.intellij.execution.runners.RunStrategyImpl$3.run(RunStrategyImpl.java:10)
at com.intellij.execution.impl.ExecutionManagerImpl$1.run(ExecutionManagerImpl.java:1)
at com.intellij.execution.impl.ExecutionManagerImpl.compileAndRun(ExecutionManagerImpl.java:26)
at com.intellij.execution.runners.RunStrategyImpl.execute(RunStrategyImpl.java:63)
at com.intellij.execution.runners.RunStrategyImpl.execute(RunStrategyImpl.java:28)
at com.intellij.execution.actions.RunnerAction.a(RunnerAction.java:38)
at com.intellij.execution.actions.RunnerAction.actionPerformed(RunnerAction.java:23)
at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:78)
at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:99)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:18)
at java.awt.Component.processEvent(Component.java:5367)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4068)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:155)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:49)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:70)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Looks like a bug to me and I haven't been able to find anything related on the forum.

cheers
-nodje

2 comments
Comment actions Permalink

Hello nodje,

Don't use the standalone TestNG-J plugin. Use the one which is bundled with
IntelliJ IDEA.

I'm getting the following exception when trying to launch a config for
a TestNG test:

Error during dispatching of
java.awt.event.MouseEvent[MOUSE_RELEASED,(483,39),button=1,modifiers=B
utton1,clickCount=1] on frame1:
com.theoryinpractice.testng.TestNGConsoleView.createUpDownStacktraceAc
tions()[Lcom/intellij/openapi/actionSystem/AnAction;
java.lang.AbstractMethodError:
com.theoryinpractice.testng.TestNGConsoleView.createUpDownStacktraceAc
tions()[Lcom/intellij/openapi/actionSystem/AnAction;
at
com.intellij.execution.runners.RunContentBuilder.a(RunContentBuilder.j
ava:79)
at
com.intellij.execution.runners.RunContentBuilder.a(RunContentBuilder.j
ava:83)
at
com.intellij.execution.runners.RunContentBuilder.showRunContent(RunCon
tentBuilder.java:21)
at
com.intellij.execution.runners.RunStrategyImpl.a(RunStrategyImpl.java:
4)
at
com.intellij.execution.runners.RunStrategyImpl.access$200(RunStrategyI
mpl.java:1)
at
com.intellij.execution.runners.RunStrategyImpl$3.run(RunStrategyImpl.j
ava:10)
at
com.intellij.execution.impl.ExecutionManagerImpl$1.run(ExecutionManage
rImpl.java:1)
at
com.intellij.execution.impl.ExecutionManagerImpl.compileAndRun(Executi
onManagerImpl.java:26)
at
com.intellij.execution.runners.RunStrategyImpl.execute(RunStrategyImpl
.java:63)
at
com.intellij.execution.runners.RunStrategyImpl.execute(RunStrategyImpl
.java:28)
at
com.intellij.execution.actions.RunnerAction.a(RunnerAction.java:38)
at
com.intellij.execution.actions.RunnerAction.actionPerformed(RunnerActi
on.java:23)
at
com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.jav
a:78)
at
com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.jav
a:99)
at
com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(
ActionButton.java:18)
at java.awt.Component.processEvent(Component.java:5367)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4068)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3903)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:155)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:49)
at
com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:70)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThr
ead.java:269)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
d.java:190)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Looks like a bug to me and I haven't been able to find anything
related on the forum.

cheers
-nodje

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

thanks Dmitry.

The thing is I was not very clear about what is part of the std distrib and what comes from external plugin.
I removed TESTNG-J v1.1.1 plugin as well as TESTNG-generator plugin but then lost any support for TestNG.

I reinstalled IDEA and now things are working well.

0

Please sign in to leave a comment.