Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357625 - [ui] fix potential NPE
Summary: [ui] fix potential NPE
Status: CLOSED FIXED
Alias: None
Product: EMFCompare
Classification: Modeling
Component: Core (show other bugs)
Version: 1.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: EMF Compare CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-14 08:52 EDT by Bouchet Stéphane CLA
Modified: 2011-09-27 10:14 EDT (History)
1 user (show)

See Also:


Attachments
patch to fix potential NPE (961 bytes, patch)
2011-09-14 08:52 EDT, Bouchet Stéphane CLA
laurent.goubet: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bouchet Stéphane CLA 2011-09-14 08:52:29 EDT
Created attachment 203334 [details]
patch to fix potential NPE

hi, 

in ModelContentMergeViewer.java, i got an NPE during save after a merge from right to left.

i cannot reproduce the problem, but i think the code could be secured by the provided patch
Comment 1 Laurent Goubet CLA 2011-09-27 10:13:25 EDT
Commited on master, and will find its way in 1.2