Bug 154096

Summary: NPE when re-run some actions
Product: [Modeling] MDT.UML2 Reporter: Kenn Hussey <Kenn.Hussey>
Component: CoreAssignee: Kenn Hussey <Kenn.Hussey>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0.0   
Target Milestone: 2.0.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Kenn Hussey CLA 2006-08-16 13:25:31 EDT
Attempting to re-run some of the actions in the UML editor results in a null pointer exception. For example, define a profile (UML Editor > Profile < Define), undo that definition (Edit > Undo...), then try to define it again (UML Editor > Profile < Define).

The cause of the problem is that commands returned by these actions are shared as long as the selection remains the same - a new command instance should be used each time an action is run.
Comment 1 Kenn Hussey CLA 2006-08-16 13:36:46 EDT
The fix has been committed to CVS.
Comment 2 Kenn Hussey CLA 2006-08-17 17:11:04 EDT
Fixed in M200608171632.
Comment 3 Nick Boldt CLA 2008-01-28 16:36:08 EST
Move to verified as per bug 206558.