Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 228856

Summary: InactiveProcessException happens when running manual test with IAC
Product: z_Archived Reporter: Tony Wang <newboya1988>
Component: TPTPAssignee: Bing Xu <xubing>
Status: CLOSED FIXED QA Contact:
Severity: critical    
Priority: P1 CC: jcayne, jgwest, jkubasta, paulslau
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Fix IAC config problem with swt jar. none

Description Tony Wang CLA 2008-04-25 06:46:30 EDT
Using build 200804240100 TPTP all-in-one and manual test tool plugin, an InactiveProcessException is thrown when running a manual test with IAC

It's good to run a manual test with AC (with manual test plugin installed under<AC directory>/plugin)
Comment 1 Tony Wang CLA 2008-04-25 06:48:44 EDT
!ENTRY org.eclipse.hyades.test.core 1 0 2008-04-25 06:47:51.928
!MESSAGE org.eclipse.hyades.internal.execution.local.control.InactiveProcessException
!STACK 0
org.eclipse.hyades.internal.execution.local.control.InactiveProcessException
	at org.eclipse.hyades.execution.harness.TestExecutionHarnessExecutorStub.launch(TestExecutionHarnessExecutorStub.java:421)
	at org.eclipse.hyades.execution.harness.TestExecutionHarness.launchTestExecution(TestExecutionHarness.java:2076)
	at org.eclipse.hyades.execution.harness.TestExecutionHarness.access$1(TestExecutionHarness.java:1808)
	at org.eclipse.hyades.execution.harness.TestExecutionHarness$2.run(TestExecutionHarness.java:728)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY org.eclipse.hyades.test.core 1 0 2008-04-25 06:47:51.948
!MESSAGE java.lang.RuntimeException: org.eclipse.hyades.internal.execution.local.control.InactiveProcessException
!STACK 0
java.lang.RuntimeException: org.eclipse.hyades.internal.execution.local.control.InactiveProcessException
	at org.eclipse.hyades.execution.harness.TestExecutionHarnessExecutorStub.handleException(TestExecutionHarnessExecutorStub.java:346)
	at org.eclipse.hyades.execution.harness.TestExecutionHarnessExecutorStub.launch(TestExecutionHarnessExecutorStub.java:433)
	at org.eclipse.hyades.execution.harness.TestExecutionHarness.launchTestExecution(TestExecutionHarness.java:2076)
	at org.eclipse.hyades.execution.harness.TestExecutionHarness.access$1(TestExecutionHarness.java:1808)
	at org.eclipse.hyades.execution.harness.TestExecutionHarness$2.run(TestExecutionHarness.java:728)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.eclipse.hyades.internal.execution.local.control.InactiveProcessException
	at org.eclipse.hyades.execution.harness.TestExecutionHarnessExecutorStub.launch(TestExecutionHarnessExecutorStub.java:421)
	... 4 more

!ENTRY org.eclipse.hyades.test.core 4 0 2008-04-25 06:47:52.108
!MESSAGE IWAT4039E The Test Execution Harness reported the following problems: org.eclipse.hyades.internal.execution.local.control.InactiveProcessException
Comment 2 Bing Xu CLA 2008-04-29 14:31:50 EDT
Tony, did you regenerate IAC's config file?   
Comment 3 Tony Wang CLA 2008-04-29 15:00:12 EDT
I've tried two ways to install manual test tool plugin to eclipse, one is extract that plugin under <Eclipse installation directory>, another way is extract to <Eclipse installation directory>/dropins, both can reproduce that problem, and Agent Controller (with manual test plugin installed under<AC directory>/plugin) can work well under those two installations
Comment 4 Paul Slauenwhite CLA 2008-04-29 18:22:01 EDT
(In reply to comment #3)
> I've tried two ways to install manual test tool plugin to eclipse, one is
> extract that plugin under <Eclipse installation directory>, another way is
> extract to <Eclipse installation directory>/dropins, both can reproduce that
> problem, and Agent Controller (with manual test plugin installed under<AC
> directory>/plugin) can work well under those two installations
> 

Tony, did you following the installation instructions (specifically #3):

http://www.eclipse.org/tptp/test/documents/gettingstarted/Manual_Test_Tools_Getting_Started.html#2.0
Comment 5 Bing Xu CLA 2008-04-30 14:14:52 EDT
This is caused by the IAC config using FileLocator to get path of the SWT jar.  Will provide a patch soon.
Comment 6 Bing Xu CLA 2008-04-30 14:49:44 EDT
Created attachment 98241 [details]
Fix IAC config problem with swt jar.
Comment 7 Bing Xu CLA 2008-04-30 14:50:07 EDT
Jonathan, can you review the patch.
Comment 8 Jonathan West CLA 2008-04-30 15:08:09 EDT
Patch is good.
Comment 9 Bing Xu CLA 2008-04-30 17:13:19 EDT
Joel, can you commit the patch.  Thanks.
Comment 10 jkubasta CLA 2008-05-01 12:12:06 EDT
I just applied this patch to Head given it was PMC approved for inclusion in i7
Comment 11 Paul Slauenwhite CLA 2008-05-05 20:38:46 EDT
Verified in the I7 candidate driver.