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

Bug 429846

Summary: NPE when starting Test Suite with no active View
Product: [Technology] Jubula Reporter: Zeb Ford-Reitz <zeb.ford-reitz>
Component: UIAssignee: Markus Tiede <markus.tiede>
Status: CLOSED FIXED QA Contact: Oliver Goetz <Oliver.Goetz>
Severity: normal    
Priority: P2 CC: alexandra.schladebeck, Maissmaallsmyss.Maulhs, markus.tiede
Version: 1.2.1   
Target Milestone: 2.3   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on: 413980    
Bug Blocks:    
Attachments:
Description Flags
stacktrace
none
Test results (tested on the win7 VM) none

Description Zeb Ford-Reitz CLA 2014-03-07 04:16:08 EST
Created attachment 240631 [details]
stacktrace

To reproduce (I suspect it's important to avoid additional actions, as they may select a View):
 1. Start Jubula with a new workspace.
 2. Close the Welcome Screen.
 3. Open a Project (with startable AUT and Test Suite) via the menu.
 4. Configure the AUT Agent connection (Window -> Preferences => TEST / AUT Agent) to connect to a remote (non-localhost) machine.
 5. Connect to an AUT Agent running on another machine.
 6. Start AUT.
 7. Start Test Suite.

An error dialog appears and the Test Suite does not start. I've attached the resulting stacktrace from the log file.
Comment 1 Alexandra Schladebeck CLA 2014-03-13 06:31:19 EDT
We should try and fix this before 8.0.
Comment 2 Markus Tiede CLA 2014-03-19 05:23:51 EDT
I'm going to implement a workaround until bug 413980 which is causing the view to not become active is resolved.
Comment 3 Markus Tiede CLA 2014-03-19 08:03:54 EDT
Fixed with (workaround implemented with):

http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=c1421394699bcca8e77b43730dd01788e9ccb60a
Comment 4 Maissmaallsmyss Maulhs-Vvuillss CLA 2014-03-21 12:47:42 EDT
Created attachment 241108 [details]
Test results (tested on the win7 VM)

I´ve tested this on win7 remote machine, the error dialog does not appear and the Test Suite can starts and executes normally.
Comment 5 Oliver Goetz CLA 2014-03-25 06:59:23 EDT
I am also not able to reproduce this issue neither by starting the test execution using the TBI in the running AUTs view nor by using the TSB. Tested on G8 and Win7ITE