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

Bug 457968

Summary: TypeError: Cannot read property 'style' of null (in tooltip.js)
Product: [ECD] Orion Reporter: Grant Gayed <grant_gayed>
Component: ClientAssignee: Curtis Windatt <curtis.windatt.public>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: curtis.windatt.public
Version: unspecified   
Target Milestone: 8.0   
Hardware: PC   
OS: All   
Whiteboard:

Description Grant Gayed CLA 2015-01-20 12:30:28 EST
Our uncaught error logging indicates that toolTip div may be null in the following snippet in tooltip.js:

var tooltipDiv = this._tooltipDiv, tooltipContents = this._tooltipContents;
tooltipDiv.style.left = tooltipDiv.style.right = tooltipDiv.style.width = tooltipDiv.style.height =  tooltipContents.style.width = tooltipContents.style.height = "auto"; //$NON-NLS-0$

...which causes a null reference on the second line at "tooltipDiv.style".  This has happened 7x in the last two days.
Comment 1 Curtis Windatt CLA 2015-01-20 13:12:26 EST
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=73642104ad35ca67de52ca864fc7f9d0f29152f4
Fixed in master

If the hover is destroyed before the call to show we shouldn't be trying to open the tooltip.