TypeScript: Error in 'getCompletionEntryCodeActionsAndSourceDisplay' during 'completionEntryDetails'

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: 4.4.2 VSCode version: 1.60.0-insider Command requested: completionEntryDetails Hitting sessions: 461 Five line hash: e111ae7aab99366025eef1e0a6d47c30 Stack:

    at getCompletionEntryCodeActionsAndSourceDisplay (tsserver.js:126512:22)
    at getCompletionEntryDetails (tsserver.js:126468:30)
    at getCompletionEntryDetails (tsserver.js:156791:35)
    at <anonymous> (tsserver.js:168255:57)
    at mapDefined (tsserver.js:616:30)
    at Session.getCompletionEntryDetails (tsserver.js:168253:33)
    at _a.<computed> (tsserver.js:167080:61)
    at <anonymous> (tsserver.js:168873:88)
    at Session.executeWithRequestId (tsserver.js:168864:28)
    at Session.executeCommand (tsserver.js:168873:33)
    at Session.onMessage (tsserver.js:168899:35)
    at <anonymous> (tsserver.js:171504:31)
    at unknown (suppressed.js:315:20)
    at unknown (suppressed.js:337:10)
    at unknown (suppressed.js:482:12)
    at unknown (suppressed.js:194:10)
    at unknown (suppressed.js:315:20)
    at unknown (suppressed.js:309:12)
    at unknown (suppressed.js:284:9)
    at unknown (suppressed.js:223:10)
    at unknown (suppressed.js:188:23)

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 33 (10 by maintainers)

Most upvoted comments

This issue reproduced in the following context: TypeScript version prefix: 4.9.5 VSCode version: 1.75.0 Command requested: completionEntryDetails Hitting sessions: 2115 Five line hash: e111ae7aab99366025eef1e0a6d47c30 Stack:

    at getCompletionEntryCodeActionsAndSourceDisplay (tsserver.js:136328:22)
    at getCompletionEntryDetails (tsserver.js:136266:30)
    at getCompletionEntryDetails (tsserver.js:169156:35)
    at <anonymous> (tsserver.js:181347:57)
    at mapDefined (tsserver.js:621:30)
    at Session.getCompletionEntryDetails (tsserver.js:181345:33)
    at _a.<computed> (tsserver.js:179982:61)
    at <anonymous> (tsserver.js:182034:96)
    at Session.executeWithRequestId (tsserver.js:182025:28)
    at Session.executeCommand (tsserver.js:182034:41)
    at Session.onMessage (tsserver.js:182062:35)
    at <anonymous> (tsserver.js:186218:31)

This issue reproduced in the following context: TypeScript version prefix: 4.7.2 VSCode version: 1.68.0-insider Command requested: completionEntryDetails Hitting sessions: 227 Five line hash: e111ae7aab99366025eef1e0a6d47c30 Stack:

    at getCompletionEntryCodeActionsAndSourceDisplay (tsserver.js:132553:22)
    at getCompletionEntryDetails (tsserver.js:132491:30)
    at getCompletionEntryDetails (tsserver.js:164582:35)
    at <anonymous> (tsserver.js:176424:57)
    at mapDefined (tsserver.js:605:30)
    at Session.getCompletionEntryDetails (tsserver.js:176422:33)
    at _a.<computed> (tsserver.js:175061:61)
    at <anonymous> (tsserver.js:177109:88)
    at Session.executeWithRequestId (tsserver.js:177100:28)
    at Session.executeCommand (tsserver.js:177109:33)
    at Session.onMessage (tsserver.js:177135:35)
    at <anonymous> (tsserver.js:179770:31)

You also might want to track #35395 which I’m planning to investigate for 4.8. If you’re migrating away from a library you’re currently using and don’t want to add any more imports from it, that seems like a reasonable case for adding it to a block list.

Got it. Confirmed already fixed in 4.7. Thanks!

I used a separate VSCode window and did Extensions: Disable All Installed Extensions for This Workspace.

Everything is greyed out, so they should be disabled.

Screenshot from 2022-05-26 13-32-01