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

Bug 367190

Summary: JavaScript error when reseting the perspective
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1    
Version: 1.5   
Target Milestone: 1.5 M5   
Hardware: All   
OS: All   
Whiteboard:

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.