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 200457 - IllegalArgumentException: run-testng
Summary: IllegalArgumentException: run-testng
Status: RESOLVED DUPLICATE of bug 195667
Alias: None
Product: java
Classification: Unclassified
Component: TestNG (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Lukas Jungmann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-28 09:02 UTC by tinca
Modified: 2012-04-20 11:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 180190


Attachments
stacktrace (3.41 KB, text/plain)
2011-07-28 09:02 UTC, tinca
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tinca 2011-07-28 09:02:36 UTC
Build: NetBeans IDE 7.0 (Build 201104080000)
VM: OpenJDK Client VM, 19.0-b09, OpenJDK Runtime Environment, 1.6.0-b22
OS: FreeBSD

User Comments:
tinca: - Selected one TestNG file for running class test
- After succesful execution pressed Rerun button on the test panel




Stacktrace: 
java.lang.IllegalArgumentException: run-testng
   at org.netbeans.modules.java.api.common.project.BaseActionProvider.getTargetNames(BaseActionProvider.java:862)
   at org.netbeans.modules.java.j2seproject.J2SEActionProvider.getTargetNames(J2SEActionProvider.java:194)
   at org.netbeans.modules.java.api.common.project.BaseActionProvider$1Action.run(BaseActionProvider.java:414)
   at org.netbeans.modules.java.api.common.project.BaseActionProvider.invokeAction(BaseActionProvider.java:558)
   at org.netbeans.modules.contrib.testng.output.TestNGExecutionManager.rerun(TestNGExecutionManager.java:124)
   at org.netbeans.modules.gsf.testrunner.api.StatisticsPanel$1.actionPerformed(StatisticsPanel.java:156)
Comment 1 tinca 2011-07-28 09:02:39 UTC
Created attachment 109659 [details]
stacktrace
Comment 2 Tomas Zezula 2011-08-01 09:34:21 UTC
Report to testng support.
run-testng is not a Java project target.
Comment 3 Tomas Zezula 2011-08-01 09:47:34 UTC
Thanks Marian!
I didn't find it.
Comment 4 Lukas Jungmann 2012-04-20 11:29:18 UTC

*** This bug has been marked as a duplicate of bug 195667 ***