Bug 154096 - NPE when re-run some actions
Summary: NPE when re-run some actions
Status: VERIFIED FIXED
Alias: None
Product: MDT.UML2
Classification: Modeling
Component: Core (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Kenn Hussey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-16 13:25 EDT by Kenn Hussey CLA
Modified: 2008-01-28 16:36 EST (History)
0 users

See Also:


Attachments

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