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

Bug 339060

Summary: Merging component names results in error
Product: [Technology] Jubula Reporter: Alexandra Schladebeck <alexandra.schladebeck>
Component: CoreAssignee: Zeb Ford-Reitz <zeb.ford-reitz>
Status: CLOSED FIXED QA Contact: Tim Winselmann <tim.winselmann>
Severity: blocker    
Priority: P2 CC: Achim.Loerke, markus.tiede
Version: 0.9.0   
Target Milestone: Indigo M6   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Logfile
none
NPE after merging two used component names in the CNB none

Description Alexandra Schladebeck CLA 2011-03-07 04:21:18 EST
When two component names (however created: either via New Component Name or through reassigning) are merged, the next save in the project (and all subsequent saves) result in a Java Illegal Argument Exception (see attached log).

The project is then basically broken - no saves can be carried out.
Comment 1 Alexandra Schladebeck CLA 2011-03-07 04:21:57 EST
Created attachment 190522 [details]
Logfile
Comment 2 Zeb Ford-Reitz CLA 2011-03-08 09:15:15 EST
fixed with http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=bc38c07d68ade714fd32e5245fc738d35a9f3f45

I should note that I was unable to reproduce the error using the given description. The attached log, however, quite clearly identifies the cause of the problem.
Comment 3 Markus Tiede CLA 2011-03-14 09:48:23 EDT
Tested merging of unused component names in CNB: OK
Tested merging of used component names in CNB: NOK - (NPE) s. attached Log
Comment 4 Markus Tiede CLA 2011-03-14 09:50:58 EDT
Created attachment 191113 [details]
NPE after merging two used component names in the CNB

Steps to reproduce
 - Import GDP_5 project
 - Open project + CNB
 - Merge component names "dvd_CategoryLöschen_OK_btn" and "dvd_newCategory_OK_btc"
 - Open OME --> UE due to NPE
Comment 6 Markus Tiede CLA 2011-03-15 04:05:34 EDT
Tested merging of unused component names in CNB: OK
Tested merging of used component names in CNB: OK