Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340153 - [console] NPE closing selection source
Summary: [console] NPE closing selection source
Status: CLOSED FIXED
Alias: None
Product: OCL
Classification: Modeling
Component: Core (show other bugs)
Version: 3.0.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: OCL Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-16 09:22 EDT by Ed Willink CLA
Modified: 2011-05-27 03:13 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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