Issue 39: Unsupported launch configuratio type org.testng.eclipse.launchconfig
Status:  New
Owner: ----
Reported by ian.clarke, Dec 1, 2008
What steps will reproduce the problem?
1. Create a testng.xml file in project
2. Right click on it, select Run As... TestNG Suite

What is the expected output? What do you see instead?

The tests should run (and were running yesterday).  Now I get an error:

'Launching src.test.java.testng.xml' has encountered a problem.
Unsupported launch configuratio [sic] type org.testng.eclipse.launchconfig

What version of the product are you using? On what operating system?
5.8.0.2 running on Eclipse 3.4.1 on OSX 10.5.

Please provide any additional information below.


Dec 2, 2008
#1 ian.clarke
I seemed to have corrected this problem by recreating the launch configuration.
Jan 20, 2009
#2 thoman...@gmail.com
I'm frequently encountering the same error message. Strangely, I found deleting a
number of TestNG launch configurations (which automatically become more as you
right-click classes and run their tests individually) fixes the issue. For me this is
on Windows XP, Eclipse 3.4.1 (Build id: M20080911-1700), TestNG 5.8.0.2. This didn't
happen with a previous version of TestNG, unfortunately I don't remember which
version I previously had.
Jan 29, 2009
#3 roberto....@gmail.com
Started recently for me on Ubuntu, Eclipse 3.4.1, TestNG 5.8.0.2. Seems strange that
this issue should have started recently, given that the TestNG 5.8.0.2 plugin is
about 10 months old.

The only thing I've changed recently regarding my Eclipse config has been using the
'm2eclipse' Maven plugin I think.

Deleting all the old Launch configurations and then restarting eclipse seems to clear
the problem for me.

Feb 1, 2009
#4 jurek.pi...@gmail.com
I just saw the problem for the first time today and resolved it using the observation
of thomanski from Jan 20, 2009. I am using the eclipse testng plugin version 5.8.0.2
with eclipse Version: 3.4.1 Build id: M20080911-1700 on Windows XP.

Mar 25, 2009
#6 allenpparslow@gmail.com
This missing typeid was fixed in m2eclipse 0.9.7:

public static final String JDT_TESTNG_TEST = "org.testng.eclipse.launchconfig";

see:
http://svn.sonatype.org/m2eclipse/tags/0.9.7.200811301804/org.maven.ide.eclipse.jdt/src/org/maven/ide/eclipse/jdt/internal/launch/MavenRuntimeClasspathProvider.java