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

Bug 340153

Summary: [console] NPE closing selection source
Product: [Modeling] OCL Reporter: Ed Willink <ed>
Component: CoreAssignee: OCL Inbox <mdt-ocl-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Ed Willink CLA 2011-03-16 09:22:05 EDT
If the Xtext Console is watching a selection from some editor (e.g a GMF diagram) and the editor is closed, an NPE results presumably from handling the change to a null selection.
Comment 1 Ed Willink CLA 2011-03-16 13:45:25 EDT
Fixed in CVS.

Not a selection problem, but an asymmetry in the EmbeddedXtextEditor treatmrent of IContextSelection.
Comment 2 Ed Willink CLA 2011-03-16 13:46:07 EDT
Forgot to RESOLVE.
Comment 3 Ed Willink CLA 2011-05-27 03:13:18 EDT
Closing