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

Bug 518661

Summary: [tern] Failed to call 'propagate' of undefined
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P2    
Version: 13.0   
Target Milestone: 15.0   
Hardware: PC   
OS: Mac OS X   
See Also: https://github.com/eclipse/orion.client/pull/84
Whiteboard:

Description Michael Rennie CLA 2017-06-22 15:40:56 EDT
Steps:

1. open explorer-table.js
2. select and instance of #includes(..) being called
3. run 'project references' on it
4. check the log

The underlying problem here is that we get so far down the dependency chain while resolving the large collection of files during the all refs search that we end up timing out dependency resolution lookups (expected, we won't wait forever to fill in the graph). When we time out a look up, a null entry gets placed in the worklist (inside Tern) and eventually it tries to run the propagate function on null.

The best fix is to simply check for this, and not try to propagate into a null type.
Comment 1 Eclipse Genie CLA 2017-06-22 15:46:32 EDT
GitHub Pull Request 84 created by [mrennie]
https://github.com/eclipse/orion.client/pull/84
Comment 2 Michael Rennie CLA 2017-06-22 16:01:58 EDT
Merged.