[jboss-user] [JBoss Tools] New message: "Newbie - Problem Running TestNG on a JBoss Tools created Action."

Ran Bittmann do-not-reply at jboss.com
Fri Jan 8 06:14:42 EST 2010


User development,

A new message was posted in the thread "Newbie - Problem Running TestNG on a JBoss Tools created Action.":

http://community.jboss.org/message/518924#518924

Author  : Ran Bittmann
Profile : http://community.jboss.org/people/rmbittmann

Message:
--------------------------------------------------------------
Hi,
 
 Probably another newbie question.
 
 I am using the following environment:
 Eclipse 3.5.1, JBoss Tools 3.1.0.M4, TestNG 5.11.0.28, jdk1.6.0_17, JBoss AS 5.1.0GA-jdk6, Seam 2.2.0.GA, JBoss 4.2.2GA & MySQL 5.1.37
 
 After successfuly creating a project using: New -> Seam Web Project and adding an action and an entity to it, I am trying to test it using the TestNG plugin.
 
 I am going to the test project (testSeam1-test) finding the automatically created action test (TestAction1Test.java) right clicking on it and selecting: Run As -> TestNG Test. I get immediatly an error:
Exception occurred executing command line.
Cannot run program "C:\Java\jdk1.6.0_17\bin\javaw.exe" (in directory "C:\Workspace\testSeam1-test"): CreateProcess error=87, The parameter is incorrect.
 
 The stack and session details are below.
 
 I did not make any changes to the project other than its generation. I tried to google this problem without success.
 
 I will appreciate your help in figuring out what when wrong.
 
Thanks,
Rani.

 The stack for the failure is:
java.io.IOException: Cannot run program "C:\Java\jdk1.6.0_17\bin\javaw.exe" (in directory "C:\Workspace\testSeam1-test"): CreateProcess error=87, The parameter is incorrect
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
    at java.lang.Runtime.exec(Runtime.java:593)
    at org.eclipse.debug.core.DebugPlugin.exec(DebugPlugin.java:805)
    at org.eclipse.jdt.launching.AbstractVMRunner.exec(AbstractVMRunner.java:70)
    at org.eclipse.jdt.internal.launching.StandardVMRunner.run(StandardVMRunner.java:317)
    at org.testng.eclipse.launch.TestNGLaunchConfigurationDelegate.launch(TestNGLaunchConfigurationDelegate.java:74)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
    at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:866)
    at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1069)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.io.IOException: CreateProcess error=87, The parameter is incorrect
    at java.lang.ProcessImpl.create(Native Method)
    at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
    at java.lang.ProcessImpl.start(ProcessImpl.java:30)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
    ... 10 more
 
 And the session data is:
eclipse.buildId=M20090917-0800
java.version=1.6.0_17
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
 
 
 
 
http://www.qtl.co.il/img/copy.pnghttp://www.babylon.com/favicon.icohttp://www.morfix.com/favicon.icohttp://www.google.com/favicon.ico
--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/518924#518924




More information about the jboss-user mailing list