Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 383515 - [UML Compare] NPE with ReferenceChangeRightTarget leftToRight and ReferenceChangeLeftTarget rightToLeft
Summary: [UML Compare] NPE with ReferenceChangeRightTarget leftToRight and ReferenceCh...
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: M7   Edit
Assignee: Vincent Lorenzo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 330183
  Show dependency tree
 
Reported: 2012-06-26 03:48 EDT by Vincent Lorenzo CLA
Modified: 2012-06-26 04:11 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Lorenzo CLA 2012-06-26 03:48:23 EDT
Steps to reproduce : 
1/ Create a model left.di (for example
2/ Create a Class and a Usecase
3/ Using Save As, create the model right.di
4/In this new model, Set Class1::usecase=Usecase (so Usecase:subject=Class)
5/ Save as this model
6/ Compare left.uml with right.uml with the Papyrus Compare Editor -> EMF-Compare give you 2 differences
7/ Use Merge All 
-> you get an NPE during the merge All, because the DiffModel seems disappers during the merge. The call getDiffModel(); returns null;
Comment 1 Vincent Lorenzo CLA 2012-06-26 04:10:50 EDT
Corrected in R8426 : 
impacted classes : 
	DefaultTransactionalMerger, 
	ReferenceChangeLeftTargetTransactionalMerger
	ReferenceChangeRightTargetTransactionalMerger

This bug can be marked as resolved closed