Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354809 - [Shell] Shell crashes application when setting activeControl or defaultButton to null
Summary: [Shell] Shell crashes application when setting activeControl or defaultButton...
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.5 M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-16 06:30 EDT by Tim Buschtoens CLA
Modified: 2011-08-16 06:40 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 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.