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

Bug 335569

Summary: Error while starting a "SWT application" as "AUT"
Product: [Technology] Jubula Reporter: Marc Steffens <Marc.Steffens>
Component: CoreAssignee: Tim Winselmann <tim.winselmann>
Status: CLOSED FIXED QA Contact: Oussama <Oussama.Bouchhioua>
Severity: blocker    
Priority: P3 CC: alexandra.schladebeck, markus.tiede, tim.winselmann
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Marc Steffens CLA 2011-01-27 09:48:52 EST
Build Identifier: 

[Connection.ReaderThread:Socket[addr=localhost/127.0.0.1,port=11419,localport=49278]] ERROR o.e.j.c.c.c.StartAUTServerStateCommand - AUTServer could not start: Error while starting AUT!

Reproducible: Always

Steps to Reproduce:
1. Select a SWT AUT to start
Comment 1 Alexandra Schladebeck CLA 2011-01-28 02:22:36 EST
I have changed this to a higher priority because it is affecting the nightly regression tests.
Comment 2 Markus Tiede CLA 2011-01-28 06:08:43 EST
As this bug report does not reference any specific AUT which has been used to reproduce the error I assume that:
 - it is reproducible with any SWT-AUT
 - that this assumption also includes our example SWT-AUTs such as the "Simple Adder".

I am able to reproduce the error with our example SWT-AUT "Simple Adder": The problem with this AUT is, that due to recent changes the runtime class-path for the executable JAR is wrong. I have fixed this issue:

http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=fb41946e6d8e97bd4d7323ba077554b4016e005e

and

http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=d8e83ee8954d7fe83b6a9919d7831602f6a60971

Furthermore after resolving this AUT related issue the previously mentioned SWT AUT starts without any problems. I also recognized that our example project AUT launch configuration still make use of the no longer necessary "-Djava.ext.dirs=./lib/<specificOsFolder>" JRE argument. This should be removed.
Comment 3 Marc Steffens CLA 2011-02-01 06:22:51 EST
The example SWT-AUT "Simple Adder" launches as usual again.
Comment 4 Tim Winselmann CLA 2011-02-02 04:32:26 EST
is closed
Comment 5 Tim Winselmann CLA 2011-02-02 05:03:50 EST
reassigned, cause changes from comment 2 have to be done first.
Comment 6 Tim Winselmann CLA 2011-02-18 07:54:07 EST
fixed with commit d8856b2b4f662a143584856879ad12930f1bb860
Comment 7 Tim Winselmann CLA 2011-02-21 02:59:19 EST
JRE Arguments are deleted
Comment 8 Tim Winselmann CLA 2011-02-21 03:00:05 EST
closed cause comment 7