-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueSource: TelemetryThe issue relates to the telemetry in editorsThe issue relates to the telemetry in editors
Milestone
Description
This issue comes from crash dumps in telemetry. We've tried to de-duplicate issues on a best-effort basis, comparing the sequence of methods called and the command requested while ignoring line numbers.
TypeScript Version Prefix: 2.7.1
VSCode Version 1.20.0-insider
command requested: occurrences
hitting sessions: 526
proportion of all sessions: 0.001963617087201771
five line hash: 9e446f1613a73f6ea88ee12bf6b43211
stack
TypeError: Cannot read property 'declarations' of undefined
at searchForImportedSymbol (tsserver.js:69876:45)
at getReferencesAtExportSpecifier (tsserver.js:70103:21)
at getReferencesAtLocation (tsserver.js:70050:21)
at getReferencesInContainer (tsserver.js:70026:21)
at getReferencedSymbolsForSymbol (tsserver.js:69744:25)
at Object.getReferencedSymbolsForNode (tsserver.js:69660:24)
at Object.getReferenceEntriesForNode (tsserver.js:69500:58)
at getSemanticDocumentHighlights (tsserver.js:68440:57)
at Object.getDocumentHighlights (tsserver.js:68429:20)
at getDocumentHighlights (tsserver.js:82973:42)
at getOccurrencesAtPositionCore (tsserver.js:82976:46)
at Object.getOccurrencesAtPosition (tsserver.js:82962:27)
at IOSession.Session.getOccurrences (tsserver.js:89496:64)
at Session.handlers.ts.createMapFromTemplate._a.(anonymous function) (tsserver.js:89112:61)
at unknown (tsserver.js:90393:88)
at IOSession.Session.executeWithRequestId (tsserver.js:90384:28)
at IOSession.Session.executeCommand (tsserver.js:90393:33)
at IOSession.Session.onMessage (tsserver.js:90413:35)
at Interface.<anonymous> (tsserver.js:91614:27)
at emitOne (events.js:96:13)
at Interface.emit (events.js:191:7)
at Interface._onLine (readline.js:241:10)
at Interface._normalWrite (readline.js:384:12)
at Socket.ondata (readline.js:101:10)
at emitOne (events.js:96:13)
at Socket.emit (events.js:191:7)
at readableAddChunk (_stream_readable.js:178:18)
at Socket.Readable.push (_stream_readable.js:136:10)
at Pipe.onread (net.js:560:20)
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueSource: TelemetryThe issue relates to the telemetry in editorsThe issue relates to the telemetry in editors