Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 385579

Summary: [UML Compare] NPE : EditingDomain not found for comparison between an element located in a Resource and another one not located in a Resource
Product: [Modeling] Papyrus Reporter: Vincent Lorenzo <vincent.lorenzo>
Component: CoreAssignee: Vincent Lorenzo <vincent.lorenzo>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: arnaud.cuccuru
Version: unspecified   
Target Milestone: M7   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 342163, 386042    

Description Vincent Lorenzo CLA 2012-07-20 05:55:07 EDT
To get this bug, you need to do some developement in order to compare an Element owned by Resource and another element which is not owned by a resource.

When we try to get the EditingDomain in oep.infra.emf.compare.diff.internal.merger.DefaultTransactionalMerger#getEditingDomain
we get a NullPointerException, because we are looking for an EditingDomain for the compared element which is not in a resource.
Comment 1 Vincent Lorenzo CLA 2012-07-20 05:55:35 EDT
This kind of feature is required for Arnaud Cuccuru developements.
Comment 2 Vincent Lorenzo CLA 2012-07-20 05:57:06 EDT
Corrected in R8613. This bug can be marked as closed fixed