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

Bug 342311

Summary: [ToolItem] Application crash on item-hover
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.4   
Target Milestone: 1.4 M7   
Hardware: All   
OS: All   
Whiteboard:

Description Tim Buschtoens CLA 2011-04-08 12:07:53 EDT
To reproduce use workbench-demo with business design, hover the same tool-item twice: 

Javascript error occurred:

Error: Could not apply state appearance TypeError: node.parentNode is null
Comment 1 Tim Buschtoens CLA 2011-04-08 12:09:15 EDT
I commited a quickfix using try-catch to CVS HEAD. It seems to have no side-effects. I will try to find a real solution as soon as possible.
Comment 2 Tim Buschtoens CLA 2011-04-11 05:09:03 EDT
Fixed in CVS HEAD.

The exact problematic order was this:
- setting a rounded border / no gradient
- flush
- setting no border
- flush
- setting gradient
- flush

GraphicsMixin would not understand that the shape from the border was already removed when setting the gradient.