Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Launch error, return code from startProcess0() = -1 in JUnit tests using TPTP
Launch error, return code from startProcess0() = -1 in JUnit tests using TPTP [message #87901] Sat, 18 November 2006 13:36 Go to next message
Ravi Roy is currently offline Ravi RoyFriend
Messages: 47
Registered: July 2009
Member
Hi All,

As a result of running the JUnit tests using TPTP, sometimes, I get the
following error (stacktrace below).

I tried to use eclispe -clean, and end the running 'eclipse.exe' and
'javaw.exe' using the task manager and tried the tests again, but it does
not help, if it appears once.

Did anyone experience this problem earlier ?

Thanks for the pointers!

Regards
Ravi.

____________________________________________________________ _________________
test.execution:
[echo] Executing test suite
adding file src\com\mycompany\mytest\tests\myTest.testsuite
Test started!
Test 'src\com\mycompany\mytest\tests\myTest.testsuite'
executing
Launch error, return code from startProcess0() = -1
org.eclipse.hyades.internal.execution.local.control.Inactive ProcessException
at
org.eclipse.hyades.execution.harness.TestExecutionHarnessExe cutorStub.launch(TestExecutionHarnessExecutorStub.java:420)
at
org.eclipse.hyades.execution.harness.TestExecutionHarness.la unchTestExecution(TestExecutionHarness.java:2085)
at
org.eclipse.hyades.execution.harness.TestExecutionHarness.ac cess$3(TestExecutionHarness.java:1817)
at
org.eclipse.hyades.execution.harness.TestExecutionHarness$2. run(TestExecutionHarness.java:741)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Waiting...
No results collected!
java.lang.NullPointerException
at
org.eclipse.hyades.test.core.services.AbstractTestExecutionS ervice.execute(AbstractTestExecutionService.java:435)
at
org.eclipse.hyades.automation.server.AbstractService.execute (AbstractService.java:43)
at
org.eclipse.hyades.automation.server.ServiceProxy$1.run(Serv iceProxy.java:140)
at
org.eclipse.hyades.automation.core.utils.ReusableThread.run( ReusableThread.java:131)
at java.lang.Thread.run(Unknown Source)
____________________________________________________________ _________________
Re: Launch error, return code from startProcess0() = -1 in JUnit tests using TPTP [message #88023 is a reply to message #87901] Mon, 20 November 2006 15:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dequeker.gmail.com

Sorry if this is a silly suggestion (I haven't done any Junit testing
using TPTP other than through AGR), but have you tried to restart the
agent controler ?

Ravi Roy wrote:
> Hi All,
>
> As a result of running the JUnit tests using TPTP, sometimes, I get the
> following error (stacktrace below).
>
> I tried to use eclispe -clean, and end the running 'eclipse.exe' and
> 'javaw.exe' using the task manager and tried the tests again, but it does
> not help, if it appears once.
>
> Did anyone experience this problem earlier ?
>
> Thanks for the pointers!
>
> Regards
> Ravi.
>
> ____________________________________________________________ _________________
> test.execution:
> [echo] Executing test suite
> adding file src\com\mycompany\mytest\tests\myTest.testsuite
> Test started!
> Test 'src\com\mycompany\mytest\tests\myTest.testsuite'
> executing
> Launch error, return code from startProcess0() = -1
> org.eclipse.hyades.internal.execution.local.control.Inactive ProcessException
> at
> org.eclipse.hyades.execution.harness.TestExecutionHarnessExe cutorStub.launch(TestExecutionHarnessExecutorStub.java:420)
> at
> org.eclipse.hyades.execution.harness.TestExecutionHarness.la unchTestExecution(TestExecutionHarness.java:2085)
> at
> org.eclipse.hyades.execution.harness.TestExecutionHarness.ac cess$3(TestExecutionHarness.java:1817)
> at
> org.eclipse.hyades.execution.harness.TestExecutionHarness$2. run(TestExecutionHarness.java:741)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
> Waiting...
> No results collected!
> java.lang.NullPointerException
> at
> org.eclipse.hyades.test.core.services.AbstractTestExecutionS ervice.execute(AbstractTestExecutionService.java:435)
> at
> org.eclipse.hyades.automation.server.AbstractService.execute (AbstractService.java:43)
> at
> org.eclipse.hyades.automation.server.ServiceProxy$1.run(Serv iceProxy.java:140)
> at
> org.eclipse.hyades.automation.core.utils.ReusableThread.run( ReusableThread.java:131)
> at java.lang.Thread.run(Unknown Source)
> ____________________________________________________________ _________________
>
>
Re: Launch error, return code from startProcess0() = -1 in JUnit tests using TPTP [message #88052 is a reply to message #88023] Mon, 20 November 2006 15:57 Go to previous message
Ravi Roy is currently offline Ravi RoyFriend
Messages: 47
Registered: July 2009
Member
Yes, today itself, I discovered, that if I delete the .metadata folder from
eclipse workspace and configure the project again, then this problem is gone
else this problem keep creeping up, this is what I have experienced so far,
though I am starter in using TPTP, not an expert ;-) I m using an Integrated
Agent Controller.

Thanks.

"Bevan DeQueker" <dequeker@gmail.com> wrote in message
news:ejsilg$ccl$2@utils.eclipse.org...
> Sorry if this is a silly suggestion (I haven't done any Junit testing
> using TPTP other than through AGR), but have you tried to restart the
> agent controler ?
>
> Ravi Roy wrote:
>> Hi All,
>>
>> As a result of running the JUnit tests using TPTP, sometimes, I get the
>> following error (stacktrace below).
>>
>> I tried to use eclispe -clean, and end the running 'eclipse.exe' and
>> 'javaw.exe' using the task manager and tried the tests again, but it does
>> not help, if it appears once.
>>
>> Did anyone experience this problem earlier ?
>>
>> Thanks for the pointers!
>>
>> Regards
>> Ravi.
>>
>> ____________________________________________________________ _________________
>> test.execution:
>> [echo] Executing test suite
>> adding file src\com\mycompany\mytest\tests\myTest.testsuite
>> Test started!
>> Test 'src\com\mycompany\mytest\tests\myTest.testsuite'
>> executing
>> Launch error, return code from startProcess0() = -1
>> org.eclipse.hyades.internal.execution.local.control.Inactive ProcessException
>> at
>> org.eclipse.hyades.execution.harness.TestExecutionHarnessExe cutorStub.launch(TestExecutionHarnessExecutorStub.java:420)
>> at
>> org.eclipse.hyades.execution.harness.TestExecutionHarness.la unchTestExecution(TestExecutionHarness.java:2085)
>> at
>> org.eclipse.hyades.execution.harness.TestExecutionHarness.ac cess$3(TestExecutionHarness.java:1817)
>> at
>> org.eclipse.hyades.execution.harness.TestExecutionHarness$2. run(TestExecutionHarness.java:741)
>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
>> Waiting...
>> No results collected!
>> java.lang.NullPointerException
>> at
>> org.eclipse.hyades.test.core.services.AbstractTestExecutionS ervice.execute(AbstractTestExecutionService.java:435)
>> at
>> org.eclipse.hyades.automation.server.AbstractService.execute (AbstractService.java:43)
>> at
>> org.eclipse.hyades.automation.server.ServiceProxy$1.run(Serv iceProxy.java:140)
>> at
>> org.eclipse.hyades.automation.core.utils.ReusableThread.run( ReusableThread.java:131)
>> at java.lang.Thread.run(Unknown Source)
>> ____________________________________________________________ _________________
>>
Previous Topic:AGR like Web Application Testing
Next Topic:[AGR] NoClassDefFoundError while running test
Goto Forum:
  


Current Time: Sat Apr 27 00:04:20 GMT 2024

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

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

Back to the top