Skip to content

TypeError: Cannot read property 'emitNode' of undefined in 'Object.getCommentRange' during 'signatureHelp' #32851

@typescript-bot

Description

@typescript-bot

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: 3.5.3
VSCode version: 1.37.0
Command requested: signatureHelp
Hitting sessions: 1009
Five line hash: c88434bf663f341ed54e24c8c38e617e
Stack:

    at getCommentRange (tsserver.js:64119:29)
    at emitNodeList (tsserver.js:87249:51)
    at emitList (tsserver.js:87128:13)
    at writeList (tsserver.js:84571:13)
    at <anonymous> (tsserver.js:108011:29)
    at mapToDisplayParts (tsserver.js:97547:13)
    at itemInfoForParameters (tsserver.js:108008:41)
    at getSignatureHelpItem (tsserver.js:107974:95)
    at <anonymous> (tsserver.js:107947:79)
    at unknown (suppressed.js)
    at createSignatureHelpItems (tsserver.js:107947:36)
    at <anonymous> (tsserver.js:107539:23)
    at runWithCancellationToken (tsserver.js:31649:28)
    at getSignatureHelpItems (tsserver.js:107537:32)
    at getSignatureHelpItems (tsserver.js:122266:37)
    at Session.getSignatureHelpItems (tsserver.js:131224:62)
    at _a.<computed> (tsserver.js:130124:61)
    at <anonymous> (tsserver.js:131671:88)
    at Session.executeWithRequestId (tsserver.js:131662:28)
    at Session.executeCommand (tsserver.js:131671:33)
    at Session.onMessage (tsserver.js:131693:35)
    at <anonymous> (tsserver.js:132984:27)
    at unknown (suppressed.js)
    at unknown (suppressed.js)
    at unknown (suppressed.js)
    at unknown (suppressed.js)
    at unknown (suppressed.js)
    at unknown (suppressed.js)
    at unknown (suppressed.js)
    at unknown (suppressed.js)
    at unknown (suppressed.js)

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptSource: TelemetryThe issue relates to the telemetry in editors

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions