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

Bug 354809

Summary: [Shell] Shell crashes application when setting activeControl or defaultButton to null
Product: [RT] RAP Reporter: Tim Buschtoens <tbuschto>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tbuschto
Version: 1.5   
Target Milestone: 1.5 M1   
Hardware: All   
OS: All   
Whiteboard:

Description Tim Buschtoens CLA 2011-08-16 06:30:55 EDT
In controls demo go to tab "Text". Click "set as Default Buttton". Click an SWT styleflag. Application crashes.
Comment 1 Tim Buschtoens CLA 2011-08-16 06:31:41 EDT
This is a side-effect of changing the ShellLCA to use protocol. WidgetUtil.getId is called with null because there is not prior check.
Comment 2 Tim Buschtoens CLA 2011-08-16 06:40:37 EDT
Fixed in CVS HEAD by checking control before getting the id.