Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 385263 - [UML Compare] NPE merging a DiffGroup owning a UMLStereotypeApplicationAddition/Removal
Summary: [UML Compare] NPE merging a DiffGroup owning a UMLStereotypeApplicationAdditi...
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.9.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: SR1   Edit
Assignee: Vincent Lorenzo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 383880
  Show dependency tree
 
Reported: 2012-07-17 04:21 EDT by Vincent Lorenzo CLA
Modified: 2012-07-17 04:30 EDT (History)
1 user (show)

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-07-17 04:21:30 EDT
Steps to reproduce : 
	1/ use the example provided by the plugin oep.uml.compare.diff.tests : UMLStereotypeApplicationRemoval_1
	2/ compare the left file with the right file
	3/ merge the diff group from right to left (works fine if we take only the last diff)
		-> you get an NPE
		
	-> the problem is the same with UMLStereotypeApplicationAddition, merging from leftToRight
Comment 1 Vincent Lorenzo CLA 2012-07-17 04:30:05 EDT
Corrected in R8592. The JUnit tests for these bugs are provided by the classes : 
	- UMLStereotypeApplicationAddition_1_LeftToRight
	- UMLStereotypeApplicationRemoval_1_RightToLeft
	
in the plugins oep.uml.compare.diff.tests.uml.profile.standalone

This bug can be marked as closed fixed