Problems running testsuite in headless mode [message #85949] |
Wed, 25 October 2006 17:00 |
Eclipse User |
|
|
|
Originally posted by: achalasj.yahoo.com
Hi,
I am using TPTP AGR to automate my test cases. Now, I am trying to run the
testsuite in the headless mode but I am getting some error message. Any
help is appreciated. I am following the instructions from this document:
http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse. hyades.test.doc.user/tasks/texecuting-the-test-execution-ser vice.htm
Here is the error message that I am getting after running Ant Build file:
Buildfile: C:\Documents and
Settings\ajoshi\AchalaEclipse\workspace1\AutomatedPrototype\ test.xml
test:
[tptp:test] java.io.IOException: CreateProcess: .\eclipse -nosplash
-application org.eclipse.hyades.execution.server -data "C:\Documents and
Settings\ajoshi\AchalaEclipse\workspace1" -vmargs
-Dtptp.automation.command=execute
-Dtptp.automation.synchronicity=synchronous
-Dtptp.automation.data="C:\Documents and Settings\ajoshi\Local
Settings\Temp\memento32526.dat" error=2
[tptp:test] at java.lang.Win32Process.create(Native Method)
[tptp:test] at java.lang.Win32Process.<init>(Win32Process.java:68)
[tptp:test] at java.lang.Runtime.execInternal(Native Method)
[tptp:test] at java.lang.Runtime.exec(Runtime.java:566)
[tptp:test] at java.lang.Runtime.exec(Runtime.java:428)
[tptp:test] at java.lang.Runtime.exec(Runtime.java:364)
[tptp:test] at java.lang.Runtime.exec(Runtime.java:326)
[tptp:test] at
org.eclipse.hyades.automation.client.strategies.OutOfProcess Strategy.execute(OutOfProcessStrategy.java:285)
[tptp:test] at
org.eclipse.hyades.automation.client.ServiceProxy.execute(Se rviceProxy.java:77)
[tptp:test] at
org.eclipse.hyades.automation.client.AutomationClient$Defaul t.execute(AutomationClient.java:160)
[tptp:test] at
org.eclipse.hyades.automation.client.adapters.java.Automatio nClientAdapter.execute(AutomationClientAdapter.java:168)
[tptp:test] at
org.eclipse.hyades.automation.client.adapters.ant.Automation ClientAdapter$Automation.execute(AutomationClientAdapter.jav a:277)
[tptp:test] at
org.eclipse.hyades.automation.client.adapters.ant.Automation ClientAdapter$Execution.execute(AutomationClientAdapter.java :578)
[tptp:test] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:276)
[tptp:test] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[tptp:test] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
[tptp:test] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
[tptp:test] at java.lang.reflect.Method.invoke(Method.java:324)
[tptp:test] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
[tptp:test] at org.apache.tools.ant.Task.perform(Task.java:342)
[tptp:test] at org.apache.tools.ant.Target.execute(Target.java:357)
[tptp:test] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[tptp:test] at
org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1282)
[tptp:test] at
org.apache.tools.ant.Project.executeTarget(Project.java:1251 )
[tptp:test] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
[tptp:test] at
org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecuto r.executeTargets(EclipseDefaultExecutor.java:32)
[tptp:test] at
org.apache.tools.ant.Project.executeTargets(Project.java:113 4)
[tptp:test] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run (InternalAntRunner.java:423)
[tptp:test] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.mai n(InternalAntRunner.java:137)
BUILD FAILED
C:\Documents and
Settings\ajoshi\AchalaEclipse\workspace1\AutomatedPrototype\ test.xml:26:
java.lang.NullPointerException
Total time: 578 milliseconds
Thanks,
Achala.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03296 seconds