Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsLaunch error, return code from startProcess0() = -1 in JUnit tests using TPTP
https://www.eclipse.org/forums/index.php/mv/msg/27073/87901/#msg_87901
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)
____________________________________________________________ _________________]]>Ravi Roy2006-11-18T13:36:28-00:00Re: Launch error, return code from startProcess0() = -1 in JUnit tests using TPTP
https://www.eclipse.org/forums/index.php/mv/msg/27073/88023/#msg_88023
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)
> ____________________________________________________________ _________________
>
>]]>2006-11-20T15:46:53-00:00Re: Launch error, return code from startProcess0() = -1 in JUnit tests using TPTP
https://www.eclipse.org/forums/index.php/mv/msg/27073/88052/#msg_88052
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)
>> ____________________________________________________________ _________________
>>]]>Ravi Roy2006-11-20T15:57:44-00:00