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

Bug 327641

Summary: [Tree] Tree#getSelection returns null element
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: tbuschto
Version: 1.4   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Ivan Furnadjiev CLA 2010-10-13 05:46:00 EDT
Reproducible with Controls Demo -> Tree Tab. Right click on the tree item to bring the context menu. Click on the menu item. A dialog popups with a text "You requested a context menu for: null". This is because tree.getSelection()[ 0 ] returns a null object.
Comment 1 Ivan Furnadjiev CLA 2010-10-13 07:39:47 EDT
It was a problem in the Controls Demo.