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

Bug 335548

Summary: Configuration Error on "Wait for Window to Close" Action
Product: [Technology] Jubula Reporter: Alexandra Schladebeck <alexandra.schladebeck>
Component: RCAssignee: Markus Tiede <markus.tiede>
Status: CLOSED FIXED QA Contact: Oussama <Oussama.Bouchhioua>
Severity: blocker    
Priority: P3 CC: markus.tiede
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Malformed regular expression none

Description Alexandra Schladebeck CLA 2011-01-27 04:40:09 EST
The action "Wait for Window to Close" in the nightly regression test for RCP applications failed immediately with a "Configuration Error". The action "Wait for Window" was successful.
Comment 1 Markus Tiede CLA 2011-01-27 06:10:52 EST
I am currently not able to reproduce this error - it may be somehow related to recent logging problems. Unfortunately the same logging issue (see bug 334999) complicates the analysis of this nightly related issue, as there are currently also no nightly log-files available. I recommend attaching the log-files as soon as they are available again if this issue is still present.
Comment 2 Markus Tiede CLA 2011-01-28 04:03:01 EST
This error re-occurred during the nightly regression tests and this time the logs are available (and attached).

The problem is that the given "title"-regular expression is malformed: It's specified as "*.Progress.*" instead of ".*Progress.*". Furthermore the error message should be more detailed.
Comment 3 Markus Tiede CLA 2011-01-28 04:03:27 EST
Created attachment 187812 [details]
Malformed regular expression
Comment 4 Markus Tiede CLA 2011-01-28 04:25:35 EST
It seems as if the error message itself is already correctly being wrapped in a StepExecutionException and an "action error - malformed reg exp" as the test error event. It seems as if this StepExecutionException is not handled correctly in the context of an RCP-based application, as it e.g. leads to an UE in the AUT (in our case Jubula) instead of being used to communication the problem back to the test execution controller (in our case the commandline client / test result).

I will open a new bug for this issue - the QA should resolve the malformed pattern.
Comment 5 Alexandra Schladebeck CLA 2011-01-28 05:25:33 EST
Malformed pattern has been resolved in the test.
Comment 6 Oussama CLA 2011-02-04 08:24:50 EST
Malformed regular expression has been resolved from the test.