Bug 529111 - [Aird Editor] Avoid NPE on setSelection after deletion
Summary: [Aird Editor] Avoid NPE on setSelection after deletion
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 5.1.0   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: 5.1.1   Edit
Assignee: Maxime Porhel CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2017-12-21 11:22 EST by Steve Monnier CLA
Modified: 2018-02-01 03:25 EST (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 Steve Monnier CLA 2017-12-21 11:22:35 EST
I have not been abled to reproduce manually, only with an SWTBot test but deleting an element triggers a selection change that leads to an NPE.

The test is in ODTE, no need of validation for this bugzilla. Ask Steve if you want the test.
Comment 1 Eclipse Genie CLA 2017-12-21 11:42:51 EST
New Gerrit change created: https://git.eclipse.org/r/114603
Comment 3 Maxime Porhel CLA 2017-12-22 03:26:27 EST
Patch reviewed and merged.
Comment 4 Maxime Porhel CLA 2017-12-22 03:27:49 EST
Validated as technical issue.

The NPE is corrected in the reproduction environment.
Comment 5 Pierre-Charles David CLA 2018-02-01 03:25:42 EST
Available in Sirius 5.1.1. See https://wiki.eclipse.org/Sirius/5.1.1 for details.