Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339060 - Merging component names results in error
Summary: Merging component names results in error
Status: CLOSED FIXED
Alias: None
Product: Jubula
Classification: Technology
Component: Core (show other bugs)
Version: 0.9.0   Edit
Hardware: All All
: P2 blocker (vote)
Target Milestone: Indigo M6   Edit
Assignee: Zeb Ford-Reitz CLA
QA Contact: Tim Winselmann CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-07 04:21 EST by Alexandra Schladebeck CLA
Modified: 2011-03-15 04:05 EDT (History)
2 users (show)

See Also:


Attachments
Logfile (7.86 KB, text/plain)
2011-03-07 04:21 EST, Alexandra Schladebeck CLA
no flags Details
NPE after merging two used component names in the CNB (5.34 KB, text/plain)
2011-03-14 09:50 EDT, Markus Tiede CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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