|
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 |
Eclipse User |
|
|
|
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 |
Ravi Roy 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)
>> ____________________________________________________________ _________________
>>
|
|
|
Powered by
FUDForum. Page generated in 0.03023 seconds