Skip to content

Error in 'getExportEqualsLocalSymbol' during 'documentHighlights' #39584

Closed

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: 3.9.6
VSCode version: 1.47.0
Command requested: documentHighlights
Hitting sessions: 5942
Five line hash: 484743baaede160b2fba00a271553832
Stack:

    at getExportEqualsLocalSymbol (tsserver.js:115456:33)
    at getImport (tsserver.js:115427:38)
    at getImportOrExportSymbol (tsserver.js:115343:68)
    at getImportOrExportReferences (tsserver.js:116838:56)
    at getReferencesAtLocation (tsserver.js:116768:17)
    at getReferencesInContainer (tsserver.js:116712:21)
    at getReferencesInContainerOrFiles (tsserver.js:116266:21)
    at getReferencedSymbolsForSymbol (tsserver.js:116257:21)
    at getReferencedSymbolsForNode (tsserver.js:116054:34)
    at getReferenceEntriesForNode (tsserver.js:115773:40)
    at getSemanticDocumentHighlights (tsserver.js:114419:57)
    at getDocumentHighlights (tsserver.js:114407:20)
    at getDocumentHighlights (tsserver.js:138994:42)
    at Session.getDocumentHighlights (tsserver.js:148637:71)
    at _a.<computed> (tsserver.js:148020:61)
    at <anonymous> (tsserver.js:149553:88)
    at Session.executeWithRequestId (tsserver.js:149544:28)
    at Session.executeCommand (tsserver.js:149553:33)
    at Session.onMessage (tsserver.js:149577:35)
    at <anonymous> (tsserver.js:150893:27)
    at unknown (suppressed.js:203:13)
    at unknown (suppressed.js:316:10)
    at unknown (suppressed.js:461:12)
    at unknown (suppressed.js:172:10)
    at unknown (suppressed.js:203:13)
    at unknown (suppressed.js:295:12)
    at unknown (suppressed.js:276:11)
    at unknown (suppressed.js:210:10)
    at unknown (suppressed.js:166:17)

Activity

  1. typescript-bot commented on Jul 27, 2020

    @typescript-bot
    ContributorAuthor

    This issue reproduced in the following context:
    TypeScript version prefix: 3.9.7
    VSCode version: 1.48.0-insider
    Command requested: documentHighlights
    Hitting sessions: 103
    Five line hash: 484743baaede160b2fba00a271553832
    Stack:

        at getExportEqualsLocalSymbol (tsserver.js:115458:33)
        at getImport (tsserver.js:115429:38)
        at getImportOrExportSymbol (tsserver.js:115345:68)
        at getImportOrExportReferences (tsserver.js:116840:56)
        at getReferencesAtLocation (tsserver.js:116770:17)
        at getReferencesInContainer (tsserver.js:116714:21)
        at getReferencesInContainerOrFiles (tsserver.js:116268:21)
        at getReferencedSymbolsForSymbol (tsserver.js:116259:21)
        at getReferencedSymbolsForNode (tsserver.js:116056:34)
        at getReferenceEntriesForNode (tsserver.js:115775:40)
        at getSemanticDocumentHighlights (tsserver.js:114421:57)
        at getDocumentHighlights (tsserver.js:114409:20)
        at getDocumentHighlights (tsserver.js:138996:42)
        at Session.getDocumentHighlights (tsserver.js:148639:71)
        at _a.<computed> (tsserver.js:148022:61)
        at <anonymous> (tsserver.js:149555:88)
        at Session.executeWithRequestId (tsserver.js:149546:28)
        at Session.executeCommand (tsserver.js:149555:33)
        at Session.onMessage (tsserver.js:149579:35)
        at <anonymous> (tsserver.js:150895:27)
        at unknown (suppressed.js:223:5)
        at unknown (suppressed.js:315:10)
        at unknown (suppressed.js:460:12)
        at unknown (suppressed.js:172:10)
        at unknown (suppressed.js:223:5)
        at unknown (suppressed.js:309:12)
        at unknown (suppressed.js:290:11)
        at unknown (suppressed.js:224:10)
        at unknown (suppressed.js:181:23)
    
  2. typescript-bot commented on Aug 24, 2020

    @typescript-bot
    ContributorAuthor

    This issue reproduced in the following context:
    TypeScript version prefix: 4.0.2
    VSCode version: 1.49.0-insider
    Command requested: documentHighlights
    Hitting sessions: 144
    Five line hash: 484743baaede160b2fba00a271553832
    Stack:

        at getExportEqualsLocalSymbol (tsserver.js:118402:33)
        at getImport (tsserver.js:118373:38)
        at getImportOrExportSymbol (tsserver.js:118286:68)
        at getImportOrExportReferences (tsserver.js:119801:56)
        at getReferencesAtLocation (tsserver.js:119731:17)
        at getReferencesInContainer (tsserver.js:119675:21)
        at getReferencesInContainerOrFiles (tsserver.js:119229:21)
        at getReferencedSymbolsForSymbol (tsserver.js:119220:21)
        at getReferencedSymbolsForNode (tsserver.js:119017:34)
        at getReferenceEntriesForNode (tsserver.js:118720:40)
        at getSemanticDocumentHighlights (tsserver.js:117358:57)
        at getDocumentHighlights (tsserver.js:117346:20)
        at getDocumentHighlights (tsserver.js:143578:42)
        at Session.getDocumentHighlights (tsserver.js:153981:71)
        at _a.<computed> (tsserver.js:153311:61)
        at <anonymous> (tsserver.js:154953:88)
        at Session.executeWithRequestId (tsserver.js:154944:28)
        at Session.executeCommand (tsserver.js:154953:33)
        at Session.onMessage (tsserver.js:154977:35)
        at <anonymous> (tsserver.js:157193:27)
        at unknown (suppressed.js:223:5)
        at unknown (suppressed.js:315:10)
        at unknown (suppressed.js:460:12)
        at unknown (suppressed.js:172:10)
        at unknown (suppressed.js:223:5)
        at unknown (suppressed.js:309:12)
        at unknown (suppressed.js:290:11)
        at unknown (suppressed.js:224:10)
        at unknown (suppressed.js:181:23)
    
  3. typescript-bot commented on Sep 28, 2020

    @typescript-bot
    ContributorAuthor

    This issue reproduced in the following context:
    TypeScript version prefix: 4.0.3
    VSCode version: 1.50.0-insider
    Command requested: documentHighlights
    Hitting sessions: 192
    Five line hash: 484743baaede160b2fba00a271553832
    Stack:

        at getExportEqualsLocalSymbol (tsserver.js:118409:33)
        at getImport (tsserver.js:118380:38)
        at getImportOrExportSymbol (tsserver.js:118293:68)
        at getImportOrExportReferences (tsserver.js:119808:56)
        at getReferencesAtLocation (tsserver.js:119738:17)
        at getReferencesInContainer (tsserver.js:119682:21)
        at getReferencesInContainerOrFiles (tsserver.js:119236:21)
        at getReferencedSymbolsForSymbol (tsserver.js:119227:21)
        at getReferencedSymbolsForNode (tsserver.js:119024:34)
        at getReferenceEntriesForNode (tsserver.js:118727:40)
        at getSemanticDocumentHighlights (tsserver.js:117365:57)
        at getDocumentHighlights (tsserver.js:117353:20)
        at getDocumentHighlights (tsserver.js:143586:42)
        at Session.getDocumentHighlights (tsserver.js:153989:71)
        at _a.<computed> (tsserver.js:153319:61)
        at <anonymous> (tsserver.js:154962:88)
        at Session.executeWithRequestId (tsserver.js:154953:28)
        at Session.executeCommand (tsserver.js:154962:33)
        at Session.onMessage (tsserver.js:154986:35)
        at <anonymous> (tsserver.js:157202:27)
        at unknown (suppressed.js:223:5)
        at unknown (suppressed.js:315:10)
        at unknown (suppressed.js:460:12)
        at unknown (suppressed.js:172:10)
        at unknown (suppressed.js:223:5)
        at unknown (suppressed.js:309:12)
        at unknown (suppressed.js:290:11)
        at unknown (suppressed.js:224:10)
        at unknown (suppressed.js:181:23)
    
  4. typescript-bot commented on Nov 30, 2020

    @typescript-bot
    ContributorAuthor

    This issue reproduced in the following context:
    TypeScript version prefix: 4.1.2
    VSCode version: 1.52.0-insider
    Command requested: documentHighlights
    Hitting sessions: 224
    Five line hash: 484743baaede160b2fba00a271553832
    Stack:

        at getExportEqualsLocalSymbol (tsserver.js:121292:33)
        at getImport (tsserver.js:121263:38)
        at getImportOrExportSymbol (tsserver.js:121176:68)
        at getImportOrExportReferences (tsserver.js:122701:56)
        at getReferencesAtLocation (tsserver.js:122631:17)
        at getReferencesInContainer (tsserver.js:122575:21)
        at getReferencesInContainerOrFiles (tsserver.js:122129:21)
        at getReferencedSymbolsForSymbol (tsserver.js:122120:21)
        at getReferencedSymbolsForNode (tsserver.js:121917:34)
        at getReferenceEntriesForNode (tsserver.js:121620:40)
        at getSemanticDocumentHighlights (tsserver.js:120247:57)
        at getDocumentHighlights (tsserver.js:120235:20)
        at getDocumentHighlights (tsserver.js:146815:42)
        at Session.getDocumentHighlights (tsserver.js:157303:71)
        at _a.<computed> (tsserver.js:156633:61)
        at <anonymous> (tsserver.js:158276:88)
        at Session.executeWithRequestId (tsserver.js:158267:28)
        at Session.executeCommand (tsserver.js:158276:33)
        at Session.onMessage (tsserver.js:158300:35)
        at <anonymous> (tsserver.js:160510:27)
        at unknown (suppressed.js:223:5)
        at unknown (suppressed.js:315:10)
        at unknown (suppressed.js:460:12)
        at unknown (suppressed.js:172:10)
        at unknown (suppressed.js:223:5)
        at unknown (suppressed.js:309:12)
        at unknown (suppressed.js:290:11)
        at unknown (suppressed.js:224:10)
        at unknown (suppressed.js:181:23)
    
  5. typescript-bot commented on Feb 15, 2021

    @typescript-bot
    ContributorAuthor

    This issue reproduced in the following context:
    TypeScript version prefix: 4.1.5
    VSCode version: 1.53.2
    Command requested: documentHighlights
    Hitting sessions: 4236
    Five line hash: 484743baaede160b2fba00a271553832
    Stack:

        at getExportEqualsLocalSymbol (tsserver.js:121294:33)
        at getImport (tsserver.js:121265:38)
        at getImportOrExportSymbol (tsserver.js:121178:68)
        at getImportOrExportReferences (tsserver.js:122703:56)
        at getReferencesAtLocation (tsserver.js:122633:17)
        at getReferencesInContainer (tsserver.js:122577:21)
        at getReferencesInContainerOrFiles (tsserver.js:122131:21)
        at getReferencedSymbolsForSymbol (tsserver.js:122122:21)
        at getReferencedSymbolsForNode (tsserver.js:121919:34)
        at getReferenceEntriesForNode (tsserver.js:121622:40)
        at getSemanticDocumentHighlights (tsserver.js:120249:57)
        at getDocumentHighlights (tsserver.js:120237:20)
        at getDocumentHighlights (tsserver.js:146817:42)
        at Session.getDocumentHighlights (tsserver.js:157313:71)
        at _a.<computed> (tsserver.js:156643:61)
        at <anonymous> (tsserver.js:158286:88)
        at Session.executeWithRequestId (tsserver.js:158277:28)
        at Session.executeCommand (tsserver.js:158286:33)
        at Session.onMessage (tsserver.js:158310:35)
        at <anonymous> (tsserver.js:160520:27)
        at unknown (suppressed.js:315:20)
        at unknown (suppressed.js:329:10)
        at unknown (suppressed.js:474:12)
        at unknown (suppressed.js:186:10)
        at unknown (suppressed.js:315:20)
        at unknown (suppressed.js:295:12)
        at unknown (suppressed.js:271:9)
        at unknown (suppressed.js:212:10)
        at unknown (suppressed.js:186:23)
    
  6. minestarks commented on Feb 17, 2021

    @minestarks
    Contributor

    Probably fixed, no repro since August https://github.com/microsoft/tsserverfuzzer/issues/263

  7. typescript-bot commented on Mar 1, 2021

    @typescript-bot
    ContributorAuthor

    This issue reproduced in the following context:
    TypeScript version prefix: 4.2.2
    VSCode version: 1.53.2
    Command requested: documentHighlights
    Hitting sessions: 114
    Five line hash: 484743baaede160b2fba00a271553832
    Stack:

        at getExportEqualsLocalSymbol (tsserver.js:123013:33)
        at getImport (tsserver.js:122984:38)
        at getImportOrExportSymbol (tsserver.js:122897:68)
        at getImportOrExportReferences (tsserver.js:124499:56)
        at getReferencesAtLocation (tsserver.js:124429:17)
        at getReferencesInContainer (tsserver.js:124373:21)
        at getReferencesInContainerOrFiles (tsserver.js:123920:21)
        at getReferencedSymbolsForSymbol (tsserver.js:123911:21)
        at getReferencedSymbolsForNode (tsserver.js:123677:34)
        at getReferenceEntriesForNode (tsserver.js:123342:40)
        at getSemanticDocumentHighlights (tsserver.js:121949:57)
        at getDocumentHighlights (tsserver.js:121937:20)
        at getDocumentHighlights (tsserver.js:149324:42)
        at Session.getDocumentHighlights (tsserver.js:159952:71)
        at _a.<computed> (tsserver.js:159280:61)
        at <anonymous> (tsserver.js:160928:88)
        at Session.executeWithRequestId (tsserver.js:160919:28)
        at Session.executeCommand (tsserver.js:160928:33)
        at Session.onMessage (tsserver.js:160954:35)
        at <anonymous> (tsserver.js:163615:31)
        at unknown (suppressed.js:315:20)
        at unknown (suppressed.js:329:10)
        at unknown (suppressed.js:474:12)
        at unknown (suppressed.js:186:10)
        at unknown (suppressed.js:315:20)
        at unknown (suppressed.js:295:12)
        at unknown (suppressed.js:271:9)
        at unknown (suppressed.js:212:10)
        at unknown (suppressed.js:186:23)
    
  8. typescript-bot commented on Mar 15, 2021

    @typescript-bot
    ContributorAuthor

    This issue reproduced in the following context:
    TypeScript version prefix: 4.2.3
    VSCode version: 1.55.0-insider
    Command requested: documentHighlights
    Hitting sessions: 6795
    Five line hash: 484743baaede160b2fba00a271553832
    Stack:

        at getExportEqualsLocalSymbol (tsserver.js:123020:33)
        at getImport (tsserver.js:122991:38)
        at getImportOrExportSymbol (tsserver.js:122904:68)
        at getImportOrExportReferences (tsserver.js:124506:56)
        at getReferencesAtLocation (tsserver.js:124436:17)
        at getReferencesInContainer (tsserver.js:124380:21)
        at getReferencesInContainerOrFiles (tsserver.js:123927:21)
        at getReferencedSymbolsForSymbol (tsserver.js:123918:21)
        at getReferencedSymbolsForNode (tsserver.js:123684:34)
        at getReferenceEntriesForNode (tsserver.js:123349:40)
        at getSemanticDocumentHighlights (tsserver.js:121956:57)
        at getDocumentHighlights (tsserver.js:121944:20)
        at getDocumentHighlights (tsserver.js:149331:42)
        at Session.getDocumentHighlights (tsserver.js:159987:71)
        at _a.<computed> (tsserver.js:159315:61)
        at <anonymous> (tsserver.js:160963:88)
        at Session.executeWithRequestId (tsserver.js:160954:28)
        at Session.executeCommand (tsserver.js:160963:33)
        at Session.onMessage (tsserver.js:160989:35)
        at <anonymous> (tsserver.js:163650:31)
        at unknown (suppressed.js:315:20)
        at unknown (suppressed.js:329:10)
        at unknown (suppressed.js:474:12)
        at unknown (suppressed.js:186:10)
        at unknown (suppressed.js:315:20)
        at unknown (suppressed.js:295:12)
        at unknown (suppressed.js:271:9)
        at unknown (suppressed.js:212:10)
        at unknown (suppressed.js:186:23)
    
  9. typescript-bot commented on Apr 19, 2021

    @typescript-bot
    ContributorAuthor

    This issue reproduced in the following context:
    TypeScript version prefix: 4.2.4
    VSCode version: 1.56.0-insider
    Command requested: documentHighlights
    Hitting sessions: 269
    Five line hash: 484743baaede160b2fba00a271553832
    Stack:

        at getExportEqualsLocalSymbol (tsserver.js:123022:33)
        at getImport (tsserver.js:122993:38)
        at getImportOrExportSymbol (tsserver.js:122906:68)
        at getImportOrExportReferences (tsserver.js:124508:56)
        at getReferencesAtLocation (tsserver.js:124438:17)
        at getReferencesInContainer (tsserver.js:124382:21)
        at getReferencesInContainerOrFiles (tsserver.js:123929:21)
        at getReferencedSymbolsForSymbol (tsserver.js:123920:21)
        at getReferencedSymbolsForNode (tsserver.js:123686:34)
        at getReferenceEntriesForNode (tsserver.js:123351:40)
        at getSemanticDocumentHighlights (tsserver.js:121958:57)
        at getDocumentHighlights (tsserver.js:121946:20)
        at getDocumentHighlights (tsserver.js:149331:42)
        at Session.getDocumentHighlights (tsserver.js:159987:71)
        at _a.<computed> (tsserver.js:159315:61)
        at <anonymous> (tsserver.js:160963:88)
        at Session.executeWithRequestId (tsserver.js:160954:28)
        at Session.executeCommand (tsserver.js:160963:33)
        at Session.onMessage (tsserver.js:160989:35)
        at <anonymous> (tsserver.js:163650:31)
        at unknown (suppressed.js:315:20)
        at unknown (suppressed.js:329:10)
        at unknown (suppressed.js:474:12)
        at unknown (suppressed.js:186:10)
        at unknown (suppressed.js:315:20)
        at unknown (suppressed.js:295:12)
        at unknown (suppressed.js:271:9)
        at unknown (suppressed.js:212:10)
        at unknown (suppressed.js:186:23)
    
  10. tsugabloom commented on May 6, 2021

    @tsugabloom

    There's a lot of "unknown (suppressed.js)" in the bot comments so I'll post a full stacktrace here since the issue keeps happening to me:

    [2021-05-06 16:50:59.876] [renderer1] [error] <semantic> TypeScript Server Error (4.2.3)
    Debug Failure.
    Error: Debug Failure.
        at getExportEqualsLocalSymbol (/Applications/VSCodium.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:123020:33)
        at getImport (/Applications/VSCodium.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:122991:38)
        at Object.getImportOrExportSymbol (/Applications/VSCodium.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:122904:68)
        at getImportOrExportReferences (/Applications/VSCodium.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:124506:56)
        at getReferencesAtLocation (/Applications/VSCodium.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:124436:17)
        at getReferencesInContainer (/Applications/VSCodium.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:124380:21)
        at getReferencesInContainerOrFiles (/Applications/VSCodium.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:123927:21)
        at getReferencedSymbolsForSymbol (/Applications/VSCodium.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:123918:21)
        at Object.getReferencedSymbolsForNode (/Applications/VSCodium.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:123684:34)
        at Object.getReferenceEntriesForNode (/Applications/VSCodium.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:123349:40)
        at getSemanticDocumentHighlights (/Applications/VSCodium.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:121956:57)
        at Object.getDocumentHighlights (/Applications/VSCodium.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:121944:20)
        at Proxy.getDocumentHighlights (/Applications/VSCodium.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:149331:42)
        at IOSession.Session.getDocumentHighlights (/Applications/VSCodium.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:159987:71)
        at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/Applications/VSCodium.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:159315:61)
        at /Applications/VSCodium.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:160963:88
        at IOSession.Session.executeWithRequestId (/Applications/VSCodium.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:160954:28)
        at IOSession.Session.executeCommand (/Applications/VSCodium.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:160963:33)
        at IOSession.Session.onMessage (/Applications/VSCodium.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:160989:35)
        at Interface.<anonymous> (/Applications/VSCodium.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:163650:31)
        at Interface.emit (events.js:315:20)
        at Interface._onLine (readline.js:329:10)
        at Interface._normalWrite (readline.js:474:12)
        at Socket.ondata (readline.js:186:10)
        at Socket.emit (events.js:315:20)
        at addChunk (_stream_readable.js:295:12)
        at readableAddChunk (_stream_readable.js:271:9)
        at Socket.Readable.push (_stream_readable.js:212:10)
        at Pipe.onStreamRead (internal/stream_base_commons.js:186:23): Error: <semantic> TypeScript Server Error (4.2.3)
    Debug Failure.
    

    I know this isn't VSCode, it's VSCodium, but the line/columns for tsserver.js are exactly the same so I think it's the same issue.

  11. typescript-bot commented on Jun 7, 2021

    @typescript-bot
    ContributorAuthor

    This issue reproduced in the following context:
    TypeScript version prefix: 4.3.2
    VSCode version: 1.57.0-insider
    Command requested: documentHighlights
    Hitting sessions: 235
    Five line hash: 484743baaede160b2fba00a271553832
    Stack:

        at getExportEqualsLocalSymbol (tsserver.js:126803:33)
        at getImport (tsserver.js:126774:38)
        at getImportOrExportSymbol (tsserver.js:126685:68)
        at getImportOrExportReferences (tsserver.js:128296:56)
        at getReferencesAtLocation (tsserver.js:128226:17)
        at getReferencesInContainer (tsserver.js:128166:21)
        at getReferencesInContainerOrFiles (tsserver.js:127711:21)
        at getReferencedSymbolsForSymbol (tsserver.js:127702:21)
        at getReferencedSymbolsForNode (tsserver.js:127468:34)
        at getReferenceEntriesForNode (tsserver.js:127133:40)
        at getSemanticDocumentHighlights (tsserver.js:125693:57)
        at getDocumentHighlights (tsserver.js:125681:20)
        at getDocumentHighlights (tsserver.js:153460:42)
        at Session.getDocumentHighlights (tsserver.js:164214:71)
        at _a.<computed> (tsserver.js:163524:61)
        at <anonymous> (tsserver.js:165205:88)
        at Session.executeWithRequestId (tsserver.js:165196:28)
        at Session.executeCommand (tsserver.js:165205:33)
        at Session.onMessage (tsserver.js:165231:35)
        at <anonymous> (tsserver.js:167833: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)
    
  12. typescript-bot commented on Jul 8, 2021

    @typescript-bot
    ContributorAuthor

    This issue reproduced in the following context:
    TypeScript version prefix: 4.3.5
    VSCode version: 1.58.0-insider
    Command requested: documentHighlights
    Hitting sessions: 194
    Five line hash: 484743baaede160b2fba00a271553832
    Stack:

        at getExportEqualsLocalSymbol (tsserver.js:126813:33)
        at getImport (tsserver.js:126784:38)
        at getImportOrExportSymbol (tsserver.js:126695:68)
        at getImportOrExportReferences (tsserver.js:128301:56)
        at getReferencesAtLocation (tsserver.js:128231:17)
        at getReferencesInContainer (tsserver.js:128171:21)
        at getReferencesInContainerOrFiles (tsserver.js:127716:21)
        at getReferencedSymbolsForSymbol (tsserver.js:127707:21)
        at getReferencedSymbolsForNode (tsserver.js:127473:34)
        at getReferenceEntriesForNode (tsserver.js:127143:40)
        at getSemanticDocumentHighlights (tsserver.js:125703:57)
        at getDocumentHighlights (tsserver.js:125691:20)
        at getDocumentHighlights (tsserver.js:153465:42)
        at Session.getDocumentHighlights (tsserver.js:164219:71)
        at _a.<computed> (tsserver.js:163529:61)
        at <anonymous> (tsserver.js:165210:88)
        at Session.executeWithRequestId (tsserver.js:165201:28)
        at Session.executeCommand (tsserver.js:165210:33)
        at Session.onMessage (tsserver.js:165236:35)
        at <anonymous> (tsserver.js:167833: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)
    
  13. RyanCavanaugh commented on Jul 21, 2021

    @RyanCavanaugh
    Member

    heyheyhello we're having trouble reproducing this; do you have a repro project you could share?

  14. tsugabloom commented on Jul 22, 2021

    @tsugabloom

    Unfortunately I don't, it's all private code. I tried to reproduce this for a while last night by readjusting my tsconfig to match what I had back in May. I tried both TS 4.3.5 and TS 4.2.1 but never had the same error come up; I get a new, different, error this time for the same actions (logs attached below). VSCode has updated a few times which might be why the error is different...

    Very shortly after posting #39584 (comment) I stopped trying the tsconfig that caused the error. I thought I was just overloading the TS server, I don't blame it.

    Here's what I was trying to do: My team develops in a monorepo and we publish internal packages for other teams to use. Many teams at our company do this. When I started working here I noticed every team publishes the code as minified+polyfilled webpack bundles even though they develop the source code in TypeScript... This meant ctrl+clicking an import would open up the meaningless minified code from node_modules. Teammates said I should just read source code in our GitLab... Instead, I tried doing a git checkout of few teams' repos and used a jsconfig.json to redirect imports to the source code. The idea was that I'd get readable code when I ctrl+click imports and I'd get properly typed imports since the other teams develop in TS! (We had yet to start developing in TS at the time, hence the jsconfig.json; today we have tsconfig).

    Maybe you'd agree it's a bad idea: each repo is huge and has many packages and may have multiple tsconfigs.

    I'd hover on an import statement and it'd crash.

    Here's a screenshot I found from back in May of the jsconfig. I'm using ../ to access a neighbouring repo outside of the current repo and reach into their src/ folders. The current repo/workspace is my team's "dashboard-enterprise" repo and we often use code from another team, "dashboard-framework", which I'm trying to link to here:

    Last night I tired it again and was very surprised to see it work! It's a bit slow, but it works! I had 20 or so paths: [] listed in our tsconfig (has checkJs: true) and ctrl+clicking showed the source code most of the time. I still don't recommend this to anyone - it's a lot of work for the TS server.

    If you're curious, the new error is about not being able to find the file path (even though it's the file I'm staring at in my editor). Similar to the error in May, both only happen when I hover on an import such as ... from '@splunk/dashboard-utils/xyz';.

    vscode-ts-error-4.1.2.log
    vscode-ts-error-4.3.5.log


    TL;DR This error doesn't happen to me anymore and I was probably asking for it by misusing TypeScript at the time. I try to be nicer to the TS server these days.

    Thanks!

  15. typescript-bot commented on Sep 6, 2021

    @typescript-bot
    ContributorAuthor

    This issue reproduced in the following context:
    TypeScript version prefix: 4.4.2
    VSCode version: 1.60.0-insider
    Command requested: documentHighlights
    Hitting sessions: 7373
    Five line hash: 484743baaede160b2fba00a271553832
    Stack:

        at getExportEqualsLocalSymbol (tsserver.js:129693:33)
        at getImport (tsserver.js:129664:38)
        at getImportOrExportSymbol (tsserver.js:129575:68)
        at getImportOrExportReferences (tsserver.js:131188:56)
        at getReferencesAtLocation (tsserver.js:131118:17)
        at getReferencesInContainer (tsserver.js:131058:21)
        at getReferencesInContainerOrFiles (tsserver.js:130599:21)
        at getReferencedSymbolsForSymbol (tsserver.js:130590:21)
        at getReferencedSymbolsForNode (tsserver.js:130353:34)
        at getReferenceEntriesForNode (tsserver.js:130023:40)
        at getSemanticDocumentHighlights (tsserver.js:128582:57)
        at getDocumentHighlights (tsserver.js:128570:20)
        at getDocumentHighlights (tsserver.js:156887:42)
        at Session.getDocumentHighlights (tsserver.js:167876:71)
        at _a.<computed> (tsserver.js:167178: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)
    
  16. typescript-bot commented on Sep 27, 2021

    @typescript-bot
    ContributorAuthor

    This issue reproduced in the following context:
    TypeScript version prefix: 4.4.3
    VSCode version: 1.61.0-insider
    Command requested: documentHighlights
    Hitting sessions: 10760
    Five line hash: 484743baaede160b2fba00a271553832
    Stack:

        at getExportEqualsLocalSymbol (tsserver.js:129700:33)
        at getImport (tsserver.js:129671:38)
        at getImportOrExportSymbol (tsserver.js:129582:68)
        at getImportOrExportReferences (tsserver.js:131195:56)
        at getReferencesAtLocation (tsserver.js:131125:17)
        at getReferencesInContainer (tsserver.js:131065:21)
        at getReferencesInContainerOrFiles (tsserver.js:130606:21)
        at getReferencedSymbolsForSymbol (tsserver.js:130597:21)
        at getReferencedSymbolsForNode (tsserver.js:130360:34)
        at getReferenceEntriesForNode (tsserver.js:130030:40)
        at getSemanticDocumentHighlights (tsserver.js:128589:57)
        at getDocumentHighlights (tsserver.js:128577:20)
        at getDocumentHighlights (tsserver.js:156894:42)
        at Session.getDocumentHighlights (tsserver.js:167883:71)
        at _a.<computed> (tsserver.js:167185:61)
        at <anonymous> (tsserver.js:168880:88)
        at Session.executeWithRequestId (tsserver.js:168871:28)
        at Session.executeCommand (tsserver.js:168880:33)
        at Session.onMessage (tsserver.js:168906:35)
        at <anonymous> (tsserver.js:171511: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)
    
  17. typescript-bot commented on Nov 29, 2021

    @typescript-bot
    ContributorAuthor

    This issue reproduced in the following context:
    TypeScript version prefix: 4.5.2
    VSCode version: 1.63.0-insider
    Command requested: documentHighlights
    Hitting sessions: 217
    Five line hash: 484743baaede160b2fba00a271553832
    Stack:

        at getExportEqualsLocalSymbol (tsserver.js:132420:33)
        at getImport (tsserver.js:132391:38)
        at getImportOrExportSymbol (tsserver.js:132302:68)
        at getImportOrExportReferences (tsserver.js:133929:56)
        at getReferencesAtLocation (tsserver.js:133859:17)
        at getReferencesInContainer (tsserver.js:133793:21)
        at getReferencesInContainerOrFiles (tsserver.js:133334:21)
        at getReferencedSymbolsForSymbol (tsserver.js:133325:21)
        at getReferencedSymbolsForNode (tsserver.js:133088:34)
        at getReferenceEntriesForNode (tsserver.js:132751:40)
        at getSemanticDocumentHighlights (tsserver.js:131309:57)
        at getDocumentHighlights (tsserver.js:131297:20)
        at getDocumentHighlights (tsserver.js:160141:42)
        at Session.getDocumentHighlights (tsserver.js:171159:71)
        at _a.<computed> (tsserver.js:170461:61)
        at <anonymous> (tsserver.js:172158:88)
        at Session.executeWithRequestId (tsserver.js:172149:28)
        at Session.executeCommand (tsserver.js:172158:33)
        at Session.onMessage (tsserver.js:172184:35)
        at <anonymous> (tsserver.js:174789: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)
    
  18. typescript-bot commented on Dec 20, 2021

    @typescript-bot
    ContributorAuthor

    This issue reproduced in the following context:
    TypeScript version prefix: 4.5.4
    VSCode version: 1.63.2
    Command requested: documentHighlights
    Hitting sessions: 5536
    Five line hash: 484743baaede160b2fba00a271553832
    Stack:

        at getExportEqualsLocalSymbol (tsserver.js:132455:33)
        at getImport (tsserver.js:132426:38)
        at getImportOrExportSymbol (tsserver.js:132337:68)
        at getImportOrExportReferences (tsserver.js:133964:56)
        at getReferencesAtLocation (tsserver.js:133894:17)
        at getReferencesInContainer (tsserver.js:133828:21)
        at getReferencesInContainerOrFiles (tsserver.js:133369:21)
        at getReferencedSymbolsForSymbol (tsserver.js:133360:21)
        at getReferencedSymbolsForNode (tsserver.js:133123:34)
        at getReferenceEntriesForNode (tsserver.js:132786:40)
        at getSemanticDocumentHighlights (tsserver.js:131344:57)
        at getDocumentHighlights (tsserver.js:131332:20)
        at getDocumentHighlights (tsserver.js:160176:42)
        at Session.getDocumentHighlights (tsserver.js:171194:71)
        at _a.<computed> (tsserver.js:170496:61)
        at <anonymous> (tsserver.js:172193:88)
        at Session.executeWithRequestId (tsserver.js:172184:28)
        at Session.executeCommand (tsserver.js:172193:33)
        at Session.onMessage (tsserver.js:172219:35)
        at <anonymous> (tsserver.js:174824: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)
    
  19. typescript-bot commented on Jan 31, 2022

    @typescript-bot
    ContributorAuthor

    This issue reproduced in the following context:
    TypeScript version prefix: 4.5.5
    VSCode version: 1.63.2
    Command requested: documentHighlights
    Hitting sessions: 133
    Five line hash: 484743baaede160b2fba00a271553832
    Stack:

        at getExportEqualsLocalSymbol (tsserver.js:132453:33)
        at getImport (tsserver.js:132424:38)
        at getImportOrExportSymbol (tsserver.js:132335:68)
        at getImportOrExportReferences (tsserver.js:133962:56)
        at getReferencesAtLocation (tsserver.js:133892:17)
        at getReferencesInContainer (tsserver.js:133826:21)
        at getReferencesInContainerOrFiles (tsserver.js:133367:21)
        at getReferencedSymbolsForSymbol (tsserver.js:133358:21)
        at getReferencedSymbolsForNode (tsserver.js:133121:34)
        at getReferenceEntriesForNode (tsserver.js:132784:40)
        at getSemanticDocumentHighlights (tsserver.js:131342:57)
        at getDocumentHighlights (tsserver.js:131330:20)
        at getDocumentHighlights (tsserver.js:160178:42)
        at Session.getDocumentHighlights (tsserver.js:171196:71)
        at _a.<computed> (tsserver.js:170498:61)
        at <anonymous> (tsserver.js:172195:88)
        at Session.executeWithRequestId (tsserver.js:172186:28)
        at Session.executeCommand (tsserver.js:172195:33)
        at Session.onMessage (tsserver.js:172221:35)
        at <anonymous> (tsserver.js:174826: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)
    
  20. typescript-bot commented on Mar 7, 2022

    @typescript-bot
    ContributorAuthor

    This issue reproduced in the following context:
    TypeScript version prefix: 4.6.2
    VSCode version: 1.65.0
    Command requested: documentHighlights
    Hitting sessions: 6207
    Five line hash: 484743baaede160b2fba00a271553832
    Stack:

        at getExportEqualsLocalSymbol (tsserver.js:133736:33)
        at getImport (tsserver.js:133707:38)
        at getImportOrExportSymbol (tsserver.js:133618:68)
        at getImportOrExportReferences (tsserver.js:135245:56)
        at getReferencesAtLocation (tsserver.js:135175:17)
        at getReferencesInContainer (tsserver.js:135109:21)
        at getReferencesInContainerOrFiles (tsserver.js:134650:21)
        at getReferencedSymbolsForSymbol (tsserver.js:134641:21)
        at getReferencedSymbolsForNode (tsserver.js:134404:34)
        at getReferenceEntriesForNode (tsserver.js:134067:40)
        at getSemanticDocumentHighlights (tsserver.js:132608:57)
        at getDocumentHighlights (tsserver.js:132596:20)
        at getDocumentHighlights (tsserver.js:161948:42)
        at Session.getDocumentHighlights (tsserver.js:173045:71)
        at _a.<computed> (tsserver.js:172344:61)
        at <anonymous> (tsserver.js:174044:88)
        at Session.executeWithRequestId (tsserver.js:174035:28)
        at Session.executeCommand (tsserver.js:174044:33)
        at Session.onMessage (tsserver.js:174070:35)
        at <anonymous> (tsserver.js:176705:31)
        at unknown (suppressed.js:315:20)
        at unknown (suppressed.js:903:12)
        at unknown (suppressed.js:81:21)
    
  21. typescript-bot commented on Apr 4, 2022

    @typescript-bot
    ContributorAuthor

    This issue reproduced in the following context:
    TypeScript version prefix: 4.6.3
    VSCode version: 1.66.0-insider
    Command requested: documentHighlights
    Hitting sessions: 8536
    Five line hash: 484743baaede160b2fba00a271553832
    Stack:

        at getExportEqualsLocalSymbol (tsserver.js:133726:33)
        at getImport (tsserver.js:133697:38)
        at getImportOrExportSymbol (tsserver.js:133608:68)
        at getImportOrExportReferences (tsserver.js:135235:56)
        at getReferencesAtLocation (tsserver.js:135165:17)
        at getReferencesInContainer (tsserver.js:135099:21)
        at getReferencesInContainerOrFiles (tsserver.js:134640:21)
        at getReferencedSymbolsForSymbol (tsserver.js:134631:21)
        at getReferencedSymbolsForNode (tsserver.js:134394:34)
        at getReferenceEntriesForNode (tsserver.js:134057:40)
        at getSemanticDocumentHighlights (tsserver.js:132598:57)
        at getDocumentHighlights (tsserver.js:132586:20)
        at getDocumentHighlights (tsserver.js:161973:42)
        at Session.getDocumentHighlights (tsserver.js:173070:71)
        at _a.<computed> (tsserver.js:172369:61)
        at <anonymous> (tsserver.js:174069:88)
        at Session.executeWithRequestId (tsserver.js:174060:28)
        at Session.executeCommand (tsserver.js:174069:33)
        at Session.onMessage (tsserver.js:174095:35)
        at <anonymous> (tsserver.js:176730:31)
    
  22. typescript-bot commented on Jun 13, 2022

    @typescript-bot
    ContributorAuthor

    This issue reproduced in the following context:
    TypeScript version prefix: 4.7.3
    VSCode version: 1.68.0-insider
    Command requested: documentHighlights
    Hitting sessions: 5377
    Five line hash: 484743baaede160b2fba00a271553832
    Stack:

        at getExportEqualsLocalSymbol (tsserver.js:136106:33)
        at getImport (tsserver.js:136077:38)
        at getImportOrExportSymbol (tsserver.js:135988:68)
        at getImportOrExportReferences (tsserver.js:137680:56)
        at getReferencesAtLocation (tsserver.js:137610:17)
        at getReferencesInContainer (tsserver.js:137544:21)
        at getReferencesInContainerOrFiles (tsserver.js:137043:21)
        at getReferencedSymbolsForSymbol (tsserver.js:137034:21)
        at getReferencedSymbolsForNode (tsserver.js:136784:34)
        at getReferenceEntriesForNode (tsserver.js:136446:40)
        at getSemanticDocumentHighlights (tsserver.js:134946:57)
        at getDocumentHighlights (tsserver.js:134934:20)
        at getDocumentHighlights (tsserver.js:164746:42)
        at Session.getDocumentHighlights (tsserver.js:176074:71)
        at _a.<computed> (tsserver.js:175222:61)
        at <anonymous> (tsserver.js:177172:88)
        at Session.executeWithRequestId (tsserver.js:177163:28)
        at Session.executeCommand (tsserver.js:177172:33)
        at Session.onMessage (tsserver.js:177198:35)
        at <anonymous> (tsserver.js:179833:31)
    
  23. locked as resolved and limited conversation to collaborators on Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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