Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327641 - [Tree] Tree#getSelection returns null element
Summary: [Tree] Tree#getSelection returns null element
Status: RESOLVED INVALID
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-13 05:46 EDT by Ivan Furnadjiev CLA
Modified: 2010-10-13 07:39 EDT (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 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.