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

Bug 466078

Summary: [hover] Finding hover for a separate declaration throws exception
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 8.0   
Target Milestone: 9.0   
Hardware: All   
OS: All   
Whiteboard:

Description Michael Rennie CLA 2015-05-01 09:50:47 EDT
Hover over a call expression and you get the following exception:

edit.js.src.js:43719 Error computing hover tooltip
edit.js.src.js:43720 TypeError: Cannot read property 'FUNCTION_DECLARATION' of undefined
    at Error (native)
    at Object.A.handleServiceError (https://orion.eclipse.org/edit/edit.js:1578:408)
    at Object.v [as handler] (https://orion.eclipse.org/edit/edit.js:1562:302)
    at https://orion.eclipse.org/edit/edit.js:1574:50
    at Array.some (native)
    at c (https://orion.eclipse.org/edit/edit.js:1573:323)
Comment 1 Michael Rennie CLA 2015-05-01 12:01:18 EDT
Fixed in:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=18525af86341e60a7074e45ed0cf6abb5777ebb9

This also makes Tern the default handler for our non-navigation hovers