This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 213598 - AssertionError: Unsupported action: DEBUG_TESTMETHOD
Summary: AssertionError: Unsupported action: DEBUG_TESTMETHOD
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: TestNG (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-05 13:55 UTC by Tomas Danek
Modified: 2012-06-14 17:56 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 189006


Attachments
stacktrace (3.13 KB, text/plain)
2012-06-05 13:55 UTC, Tomas Danek
Details
stacktrace (3.13 KB, text/plain)
2012-06-14 17:55 UTC, mago_ebon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2012-06-05 13:55:43 UTC
Build: NetBeans IDE Dev (Build 201206050001)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Linux

User Comments:
musilt2: Invoked Debug on testmethod




Stacktrace: 
java.lang.AssertionError: Unsupported action: DEBUG_TESTMETHOD
   at org.netbeans.modules.testng.ant.AntTestNGSupport$AntExecutor.execute(AntTestNGSupport.java:190)
   at org.netbeans.modules.testng.actions.TestNGActionProvider.invokeAction(TestNGActionProvider.java:101)
   at org.netbeans.modules.testng.output.TestMethodNodeAction.actionPerformed(TestMethodNodeAction.java:73)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
Comment 1 Tomas Danek 2012-06-05 13:55:48 UTC
Created attachment 120373 [details]
stacktrace
Comment 2 Jaroslav Tulach 2012-06-12 09:03:57 UTC
I've run into this problem as well, together with inability to debug the TestNG test reported as bug 214025.
Comment 3 Theofanis Oikonomou 2012-06-13 09:29:47 UTC
Fixed: http://hg.netbeans.org/core-main/rev/b3dfa288653e
Comment 4 Quality Engineering 2012-06-14 06:10:39 UTC
Integrated into 'main-golden', will be available in build *201206140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b3dfa288653e
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Issue #213598 - AssertionError: Unsupported action: DEBUG_TESTMETHOD
Comment 5 mago_ebon 2012-06-14 17:55:51 UTC
Created attachment 120867 [details]
stacktrace

I was trying to re-run a test method after running full tests with TestNG. It happens also when I'm trying to debug.