Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Problems running testsuite in headless mode
Problems running testsuite in headless mode [message #85949] Wed, 25 October 2006 17:00 Go to next message
Eclipse UserFriend
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.
Re: Problems running testsuite in headless mode [message #85966 is a reply to message #85949] Wed, 25 October 2006 20:15 Go to previous message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
I think you've stumbled on the following defect:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=152291
There is a typo in the help contents. "eclipse.home" should be
"tptp.automation.eclipse".



"Achala" <achalasj@yahoo.com> wrote in message
news:64cb494c1cc199fa6ce65cf51ad8f32a$1@www.eclipse.org...
> 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.
>
>
Previous Topic:X server crash by sequence diagram view
Next Topic:Plugin not detected
Goto Forum:
  


Current Time: Fri Apr 26 09:20:23 GMT 2024

Powered by FUDForum. Page generated in 0.03296 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top