Bug 558224 - NPE when activating a Layer on a invalid diagram
Summary: NPE when activating a Layer on a invalid diagram
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 6.1.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 6.1.4   Edit
Assignee: Florian Barbin CLA
QA Contact: Maxime Porhel CLA
URL:
Whiteboard:
Keywords: triaged
Depends on: 553866
Blocks:
  Show dependency tree
 
Reported: 2019-12-11 08:27 EST by Florian Barbin CLA
Modified: 2020-03-09 05:52 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Barbin CLA 2019-12-11 08:27:45 EST
+++ This bug was initially created as a clone of Bug #553866 +++

When calling ChangeLayerActivationCommand on a diagram with a editingDomain set to null, the command raise a NullPointerException. 

This issue cannot be reproduce by user manipulation. You must build a invalid diagram and activate a layer on it.
Comment 1 Eclipse Genie CLA 2019-12-11 11:31:34 EST
New Gerrit change created: https://git.eclipse.org/r/154339
Comment 3 Maxime Porhel CLA 2020-02-18 05:41:55 EST
Verified on 6.1.4-S20200120-085637
Comment 4 Pierre-Charles David CLA 2020-03-09 05:52:22 EDT
Available in Sirius 6.1.4, see https://wiki.eclipse.org/Sirius/6.1.4 for details.