Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367190 - JavaScript error when reseting the perspective
Summary: JavaScript error when reseting the perspective
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: All All
: P1 normal (vote)
Target Milestone: 1.5 M5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-20 09:20 EST by Ivan Furnadjiev CLA
Modified: 2011-12-20 09:44 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Furnadjiev CLA 2011-12-20 09:20:48 EST
Steps to reproduce:
1. Start Workbench Demo
2. Right click on the "Demo" perspective button
3. Choose Reset from the popup menu
4. Confirm with OK on the dialog
5. JavaScript error appears:
Error: Error: Operation "destroy" on target "w74" of type "org.eclipse.swt.widgets.CoolItem" failed:
TypeError: value is null
Properties:
Comment 1 Ivan Furnadjiev CLA 2011-12-20 09:44:38 EST
Fixed by adding a check for null in CoolItem#_applyParent. JS test added.