Skip to content

TypeError: Cannot read property 'enable' of undefined in 'convertTypeAcquisition' during 'updateOpen' #36834

Closed
@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.7.5
VSCode version: 1.42.0
Command requested: updateOpen
Hitting sessions: 2483
Five line hash: be7f551fb6c09d1e6f0ab8439899b6fb
Stack:

    at convertTypeAcquisition (tsserver.js:137354:37)
    at ProjectService.sendProjectTelemetry (tsserver.js:137335:38)
    at ConfiguredProject.updateGraph (tsserver.js:135903:37)
    at updateProjectIfDirty (tsserver.js:136266:45)
    at ProjectService.assignProjectToOpenedScriptInfo (tsserver.js:138230:29)
    at <anonymous> (tsserver.js:138448:107)
    at mapDefined (tsserver.js:565:30)
    at ProjectService.applyChangesInOpenFiles (tsserver.js:138448:48)
    at _a.<computed> (tsserver.js:139302:46)
    at <anonymous> (tsserver.js:140960:88)
    at Session.executeWithRequestId (tsserver.js:140951:28)
    at Session.executeCommand (tsserver.js:140960:33)
    at Session.onMessage (tsserver.js:140983:35)
    at <anonymous> (tsserver.js:142298: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 TypeScriptFix AvailableA PR has been opened for this issueNeeds More InfoThe issue still hasn't been fully clarifiedRescheduledThis issue was previously scheduled to an earlier milestoneSource: TelemetryThe issue relates to the telemetry in editorsVS Code PriorityCritical issues that VS Code needs fixed in the current TypeScript milestone

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions