Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Debug Failure. False expression: JsxText tokens should not be the first child of JsxElement | JsxSelfClosingElement in 'findRightmostChildNodeWithTokens' during 'quickinfo' #21815

Closed
aozgaa opened this issue Feb 9, 2018 · 22 comments · Fixed by #47500
Labels
Bug A bug in TypeScript Fix Available A PR has been opened for this issue Source: Telemetry The issue relates to the telemetry in editors
Milestone

Comments

@aozgaa
Copy link
Contributor

aozgaa commented Feb 9, 2018

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.19.0
command requested: quickinfo
hitting sessions: 494
proportion of all sessions: 0.0018441574925431082
five line hash: aa0b19994104f0573fb850c0e70e08e6
stack

Error: Debug Failure. False expression: `JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`
    at findRightmostChildNodeWithTokens (tsserver.js:64703:30)
    at find (tsserver.js:64695:33)
    at findPrecedingToken (tsserver.js:64661:22)
    at getTokenAtPositionWorker (tsserver.js:64624:41)
    at getTouchingToken (tsserver.js:64596:16)
    at Object.getTouchingPropertyName (tsserver.js:64592:16)
    at Object.getQuickInfoAtPosition (tsserver.js:82890:27)
    at IOSession.Session.getQuickInfoWorker (tsserver.js:89819:62)
    at Session.handlers.ts.createMapFromTemplate._a.(anonymous function) (tsserver.js:88972: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)
@aozgaa aozgaa added the Source: Telemetry The issue relates to the telemetry in editors label Feb 9, 2018
@mhegazy mhegazy added the Bug A bug in TypeScript label Feb 9, 2018
@mhegazy mhegazy assigned ghost Feb 9, 2018
@mhegazy mhegazy added this to the TypeScript 2.8 milestone Feb 9, 2018
@ghost
Copy link

ghost commented Mar 13, 2018

Duplicate of #20788

@ghost ghost marked this as a duplicate of #20788 Mar 13, 2018
@ghost ghost closed this as completed Mar 13, 2018
@ghost ghost added the Duplicate An existing issue was already created label Mar 13, 2018
@microsoft microsoft locked and limited conversation to collaborators Jul 25, 2018
@typescript-bot
Copy link
Collaborator

This issue reproduced in the following context:
TypeScript version prefix: 3.6.3
VSCode version: 1.39.0-insider
Command requested: quickinfo
Hitting sessions: 237
Five line hash: aa0b19994104f0573fb850c0e70e08e6
Stack:

Error: Debug Failure. False expression: `JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`
    at findRightmostChildNodeWithTokens (tsserver.js:99427:26)
    at find (tsserver.js:99404:29)
    at findPrecedingToken (tsserver.js:99368:22)
    at getTokenAtPositionWorker (tsserver.js:99318:41)
    at getTouchingToken (tsserver.js:99292:16)
    at Object.getTouchingPropertyName (tsserver.js:99284:16)
    at Object.getQuickInfoAtPosition (tsserver.js:125574:27)
    at IOSession.Session.getQuickInfoWorker (tsserver.js:134638:62)
    at Session.handlers.ts.createMapFromTemplate._a.<computed> (tsserver.js:133675:61)
    at unknown (tsserver.js:135256:88)
    at IOSession.Session.executeWithRequestId (tsserver.js:135247:28)
    at IOSession.Session.executeCommand (tsserver.js:135256:33)
    at IOSession.Session.onMessage (tsserver.js:135279:35)
    at Interface.<anonymous> (tsserver.js:136594:27)
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()

@typescript-bot
Copy link
Collaborator

This issue reproduced in the following context:
TypeScript version prefix: 3.7.3
VSCode version: 1.41.0-insider
Command requested: quickinfo
Hitting sessions: 183
Five line hash: aa0b19994104f0573fb850c0e70e08e6
Stack:

Error: Debug Failure. False expression: `JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`
    at findRightmostChildNodeWithTokens (tsserver.js:103080:26)
    at find (tsserver.js:103057:29)
    at findPrecedingToken (tsserver.js:103021:22)
    at getTokenAtPositionWorker (tsserver.js:102971:41)
    at getTouchingToken (tsserver.js:102945:16)
    at Object.getTouchingPropertyName (tsserver.js:102937:16)
    at Object.getQuickInfoAtPosition (tsserver.js:130787:27)
    at IOSession.Session.getQuickInfoWorker (tsserver.js:140293:62)
    at Session.handlers.ts.createMapFromTemplate._a.<computed> (tsserver.js:139328:61)
    at unknown (tsserver.js:140911:88)
    at IOSession.Session.executeWithRequestId (tsserver.js:140902:28)
    at IOSession.Session.executeCommand (tsserver.js:140911:33)
    at IOSession.Session.onMessage (tsserver.js:140934:35)
    at Interface.<anonymous> (tsserver.js:142249:27)
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()

@typescript-bot
Copy link
Collaborator

This issue reproduced in the following context:
TypeScript version prefix: 3.7.5
VSCode version: 1.42.0-insider
Command requested: quickinfo
Hitting sessions: 151
Five line hash: aa0b19994104f0573fb850c0e70e08e6
Stack:

Error: Debug Failure. False expression: `JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`
    at findRightmostChildNodeWithTokens (tsserver.js:103116:26)
    at find (tsserver.js:103093:29)
    at findPrecedingToken (tsserver.js:103057:22)
    at getTokenAtPositionWorker (tsserver.js:103007:41)
    at getTouchingToken (tsserver.js:102981:16)
    at Object.getTouchingPropertyName (tsserver.js:102973:16)
    at Proxy.getQuickInfoAtPosition (tsserver.js:130823:27)
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at IOSession.Session.getQuickInfoWorker (tsserver.js:140342:62)
    at Session.handlers.ts.createMapFromTemplate._a.<computed> (tsserver.js:139377:61)
    at unknown (tsserver.js:140960:88)
    at IOSession.Session.executeWithRequestId (tsserver.js:140951:28)
    at IOSession.Session.executeCommand (tsserver.js:140960:33)
    at IOSession.Session.onMessage (tsserver.js:140983:35)
    at Interface.<anonymous> (tsserver.js:142298:27)
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()

@RyanCavanaugh RyanCavanaugh unassigned ghost Jan 27, 2020
@RyanCavanaugh RyanCavanaugh removed the Duplicate An existing issue was already created label Jan 27, 2020
@RyanCavanaugh RyanCavanaugh reopened this Jan 27, 2020
@RyanCavanaugh
Copy link
Member

@typescript-bot
Copy link
Collaborator

This issue reproduced in the following context:
TypeScript version prefix: 3.8.3
VSCode version: 1.43.0-insider
Command requested: quickinfo
Hitting sessions: 167
Five line hash: aa0b19994104f0573fb850c0e70e08e6
Stack:

Error: Debug Failure. False expression: `JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`
    at findRightmostChildNodeWithTokens (tsserver.js:106401:26)
    at find (tsserver.js:106378:29)
    at findPrecedingToken (tsserver.js:106342:22)
    at getTokenAtPositionWorker (tsserver.js:106292:41)
    at getTouchingToken (tsserver.js:106266:16)
    at Object.getTouchingPropertyName (tsserver.js:106258:16)
    at Proxy.getQuickInfoAtPosition (tsserver.js:135375:27)
    at IOSession.Session.getQuickInfoWorker (tsserver.js:145332:62)
    at Session.handlers.ts.createMapFromTemplate._a.<computed> (tsserver.js:144335:61)
    at unknown (tsserver.js:146003:88)
    at IOSession.Session.executeWithRequestId (tsserver.js:145994:28)
    at IOSession.Session.executeCommand (tsserver.js:146003:33)
    at IOSession.Session.onMessage (tsserver.js:146027:35)
    at Interface.<anonymous> (tsserver.js:147342:27)
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()
    at suppressed_frame()

@RyanCavanaugh RyanCavanaugh added the Rescheduled This issue was previously scheduled to an earlier milestone label May 20, 2020
@typescript-bot
Copy link
Collaborator

This issue reproduced in the following context:
TypeScript version prefix: 3.9.6
VSCode version: 1.47.0
Command requested: quickinfo
Hitting sessions: 8226
Five line hash: aa0b19994104f0573fb850c0e70e08e6
Stack:

    at findRightmostChildNodeWithTokens (tsserver.js:108876:26)
    at find (tsserver.js:108853:29)
    at findPrecedingToken (tsserver.js:108817:22)
    at getTokenAtPositionWorker (tsserver.js:108767:41)
    at getTouchingToken (tsserver.js:108741:16)
    at getTouchingPropertyName (tsserver.js:108733:16)
    at getQuickInfoAtPosition (tsserver.js:138913:27)
    at Session.getQuickInfoWorker (tsserver.js:148873:62)
    at _a.<computed> (tsserver.js:147865: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)

@RyanCavanaugh RyanCavanaugh removed this from the TypeScript 4.0.1 milestone Jul 15, 2020
@RyanCavanaugh RyanCavanaugh added this to the Backlog milestone Jul 15, 2020
@RyanCavanaugh RyanCavanaugh removed the Rescheduled This issue was previously scheduled to an earlier milestone label Jul 15, 2020
@RyanCavanaugh
Copy link
Member

We need a concrete repro for this

@typescript-bot
Copy link
Collaborator

This issue reproduced in the following context:
TypeScript version prefix: 3.9.7
VSCode version: 1.48.0-insider
Command requested: quickinfo
Hitting sessions: 228
Five line hash: aa0b19994104f0573fb850c0e70e08e6
Stack:

    at findRightmostChildNodeWithTokens (tsserver.js:108878:26)
    at find (tsserver.js:108855:29)
    at findPrecedingToken (tsserver.js:108819:22)
    at getTokenAtPositionWorker (tsserver.js:108769:41)
    at getTouchingToken (tsserver.js:108743:16)
    at getTouchingPropertyName (tsserver.js:108735:16)
    at getQuickInfoAtPosition (tsserver.js:138915:27)
    at Session.getQuickInfoWorker (tsserver.js:148875:62)
    at _a.<computed> (tsserver.js:147867: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)

@typescript-bot
Copy link
Collaborator

This issue reproduced in the following context:
TypeScript version prefix: 4.0.2
VSCode version: 1.49.0-insider
Command requested: quickinfo
Hitting sessions: 208
Five line hash: aa0b19994104f0573fb850c0e70e08e6
Stack:

    at findRightmostChildNodeWithTokens (tsserver.js:111760:26)
    at find (tsserver.js:111737:29)
    at findPrecedingToken (tsserver.js:111701:22)
    at getTokenAtPositionWorker (tsserver.js:111651:41)
    at getTouchingToken (tsserver.js:111625:16)
    at getTouchingPropertyName (tsserver.js:111617:16)
    at getQuickInfoAtPosition (tsserver.js:143497:27)
    at Session.getQuickInfoWorker (tsserver.js:154217:62)
    at _a.<computed> (tsserver.js:153156: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)

@typescript-bot
Copy link
Collaborator

This issue reproduced in the following context:
TypeScript version prefix: 4.0.3
VSCode version: 1.50.0-insider
Command requested: quickinfo
Hitting sessions: 154
Five line hash: aa0b19994104f0573fb850c0e70e08e6
Stack:

    at findRightmostChildNodeWithTokens (tsserver.js:111764:26)
    at find (tsserver.js:111741:29)
    at findPrecedingToken (tsserver.js:111705:22)
    at getTokenAtPositionWorker (tsserver.js:111655:41)
    at getTouchingToken (tsserver.js:111629:16)
    at getTouchingPropertyName (tsserver.js:111621:16)
    at getQuickInfoAtPosition (tsserver.js:143505:27)
    at Session.getQuickInfoWorker (tsserver.js:154225:62)
    at _a.<computed> (tsserver.js:153164: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)

@typescript-bot
Copy link
Collaborator

This issue reproduced in the following context:
TypeScript version prefix: 4.1.2
VSCode version: 1.51.1
Command requested: quickinfo
Hitting sessions: 474
Five line hash: aa0b19994104f0573fb850c0e70e08e6
Stack:

    at findRightmostChildNodeWithTokens (tsserver.js:114350:26)
    at find (tsserver.js:114324:29)
    at findPrecedingToken (tsserver.js:114274:22)
    at getTokenAtPositionWorker (tsserver.js:114224:41)
    at getTouchingToken (tsserver.js:114198:16)
    at getTouchingPropertyName (tsserver.js:114190:16)
    at getQuickInfoAtPosition (tsserver.js:146734:27)
    at Session.getQuickInfoWorker (tsserver.js:157539:62)
    at _a.<computed> (tsserver.js:156478: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)

@typescript-bot
Copy link
Collaborator

This issue reproduced in the following context:
TypeScript version prefix: 4.1.3
VSCode version: 1.51.1
Command requested: quickinfo
Hitting sessions: 121
Five line hash: aa0b19994104f0573fb850c0e70e08e6
Stack:

    at findRightmostChildNodeWithTokens (tsserver.js:114352:26)
    at find (tsserver.js:114326:29)
    at findPrecedingToken (tsserver.js:114276:22)
    at getTokenAtPositionWorker (tsserver.js:114226:41)
    at getTouchingToken (tsserver.js:114200:16)
    at getTouchingPropertyName (tsserver.js:114192:16)
    at getQuickInfoAtPosition (tsserver.js:146736:27)
    at Session.getQuickInfoWorker (tsserver.js:157545:62)
    at _a.<computed> (tsserver.js:156484:61)
    at <anonymous> (tsserver.js:158282:88)
    at Session.executeWithRequestId (tsserver.js:158273:28)
    at Session.executeCommand (tsserver.js:158282:33)
    at Session.onMessage (tsserver.js:158306:35)
    at <anonymous> (tsserver.js:160516: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)

@typescript-bot
Copy link
Collaborator

This issue reproduced in the following context:
TypeScript version prefix: 4.1.5
VSCode version: 1.53.2
Command requested: quickinfo
Hitting sessions: 9629
Five line hash: aa0b19994104f0573fb850c0e70e08e6
Stack:

    at findRightmostChildNodeWithTokens (tsserver.js:114352:26)
    at find (tsserver.js:114326:29)
    at findPrecedingToken (tsserver.js:114276:22)
    at getTokenAtPositionWorker (tsserver.js:114226:41)
    at getTouchingToken (tsserver.js:114200:16)
    at getTouchingPropertyName (tsserver.js:114192:16)
    at getQuickInfoAtPosition (tsserver.js:146736:27)
    at unknown (suppressed.js:63:24)
    at Session.getQuickInfoWorker (tsserver.js:157549:62)
    at _a.<computed> (tsserver.js:156488: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)

@typescript-bot
Copy link
Collaborator

This issue reproduced in the following context:
TypeScript version prefix: 4.2.2
VSCode version: 1.54.0-insider
Command requested: quickinfo
Hitting sessions: 181
Five line hash: aa0b19994104f0573fb850c0e70e08e6
Stack:

    at findRightmostChildNodeWithTokens (tsserver.js:115984:26)
    at find (tsserver.js:115958:29)
    at findPrecedingToken (tsserver.js:115908:22)
    at getTokenAtPositionWorker (tsserver.js:115858:41)
    at getTouchingToken (tsserver.js:115832:16)
    at getTouchingPropertyName (tsserver.js:115824:16)
    at getQuickInfoAtPosition (tsserver.js:149243:27)
    at Session.getQuickInfoWorker (tsserver.js:160191:62)
    at _a.<computed> (tsserver.js:159119: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)

@typescript-bot
Copy link
Collaborator

This issue reproduced in the following context:
TypeScript version prefix: 4.2.3
VSCode version: 1.54.2
Command requested: quickinfo
Hitting sessions: 11518
Five line hash: aa0b19994104f0573fb850c0e70e08e6
Stack:

    at findRightmostChildNodeWithTokens (tsserver.js:115991:26)
    at find (tsserver.js:115965:29)
    at findPrecedingToken (tsserver.js:115915:22)
    at getTokenAtPositionWorker (tsserver.js:115865:41)
    at getTouchingToken (tsserver.js:115839:16)
    at getTouchingPropertyName (tsserver.js:115831:16)
    at getQuickInfoAtPosition (tsserver.js:149250:27)
    at Session.getQuickInfoWorker (tsserver.js:160226:62)
    at _a.<computed> (tsserver.js:159154: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)

@typescript-bot
Copy link
Collaborator

This issue reproduced in the following context:
TypeScript version prefix: 4.2.4
VSCode version: 1.56.0-insider
Command requested: quickinfo
Hitting sessions: 312
Five line hash: aa0b19994104f0573fb850c0e70e08e6
Stack:

    at findRightmostChildNodeWithTokens (tsserver.js:115993:26)
    at find (tsserver.js:115967:29)
    at findPrecedingToken (tsserver.js:115917:22)
    at getTokenAtPositionWorker (tsserver.js:115867:41)
    at getTouchingToken (tsserver.js:115841:16)
    at getTouchingPropertyName (tsserver.js:115833:16)
    at getQuickInfoAtPosition (tsserver.js:149250:27)
    at Session.getQuickInfoWorker (tsserver.js:160226:62)
    at _a.<computed> (tsserver.js:159154: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)

@typescript-bot
Copy link
Collaborator

This issue reproduced in the following context:
TypeScript version prefix: 4.3.2
VSCode version: 1.57.0-insider
Command requested: quickinfo
Hitting sessions: 290
Five line hash: aa0b19994104f0573fb850c0e70e08e6
Stack:

    at findRightmostChildNodeWithTokens (tsserver.js:119188:26)
    at find (tsserver.js:119162:29)
    at findPrecedingToken (tsserver.js:119112:22)
    at getTokenAtPositionWorker (tsserver.js:119047:41)
    at getTouchingToken (tsserver.js:119021:16)
    at getTouchingPropertyName (tsserver.js:119013:16)
    at getQuickInfoAtPosition (tsserver.js:153375:27)
    at Session.getQuickInfoWorker (tsserver.js:164453:62)
    at _a.<computed> (tsserver.js:163363: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)

@typescript-bot
Copy link
Collaborator

This issue reproduced in the following context:
TypeScript version prefix: 4.3.5
VSCode version: 1.49.2
Command requested: quickinfo
Hitting sessions: 187
Five line hash: aa0b19994104f0573fb850c0e70e08e6
Stack:

    at findRightmostChildNodeWithTokens (tsserver.js:119201:26)
    at find (tsserver.js:119175:29)
    at findPrecedingToken (tsserver.js:119125:22)
    at getTokenAtPositionWorker (tsserver.js:119060:41)
    at getTouchingToken (tsserver.js:119034:16)
    at getTouchingPropertyName (tsserver.js:119026:16)
    at getQuickInfoAtPosition (tsserver.js:153380:27)
    at Session.getQuickInfoWorker (tsserver.js:164458:62)
    at _a.<computed> (tsserver.js:163368: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: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)

@typescript-bot
Copy link
Collaborator

This issue reproduced in the following context:
TypeScript version prefix: 4.4.2
VSCode version: 1.60.0-insider
Command requested: quickinfo
Hitting sessions: 12903
Five line hash: aa0b19994104f0573fb850c0e70e08e6
Stack:

    at findRightmostChildNodeWithTokens (tsserver.js:121674:26)
    at find (tsserver.js:121648:29)
    at findPrecedingToken (tsserver.js:121598:22)
    at getTokenAtPositionWorker (tsserver.js:121533:41)
    at getTouchingToken (tsserver.js:121507:16)
    at getTouchingPropertyName (tsserver.js:121499:16)
    at getQuickInfoAtPosition (tsserver.js:156802:27)
    at unknown (suppressed.js:63:24)
    at Session.getQuickInfoWorker (tsserver.js:168121:62)
    at _a.<computed> (tsserver.js:167017: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)

@typescript-bot
Copy link
Collaborator

This issue reproduced in the following context:
TypeScript version prefix: 4.4.3
VSCode version: 1.50.1
Command requested: quickinfo
Hitting sessions: 162
Five line hash: aa0b19994104f0573fb850c0e70e08e6
Stack:

    at findRightmostChildNodeWithTokens (tsserver.js:121678:26)
    at find (tsserver.js:121652:29)
    at findPrecedingToken (tsserver.js:121602:22)
    at getTokenAtPositionWorker (tsserver.js:121537:41)
    at getTouchingToken (tsserver.js:121511:16)
    at getTouchingPropertyName (tsserver.js:121503:16)
    at getQuickInfoAtPosition (tsserver.js:156809:27)
    at unknown (suppressed.js:21:52)
    at Session.getQuickInfoWorker (tsserver.js:168128:62)
    at _a.<computed> (tsserver.js:167024: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:314:20)
    at unknown (suppressed.js:329:10)
    at unknown (suppressed.js:474:12)
    at unknown (suppressed.js:186:10)
    at unknown (suppressed.js:314:20)
    at unknown (suppressed.js:297:12)
    at unknown (suppressed.js:272:9)
    at unknown (suppressed.js:213:10)
    at unknown (suppressed.js:188:23)

@DanielRosenwasser
Copy link
Member

At least one repro at #47446.

@typescript-bot typescript-bot added the Fix Available A PR has been opened for this issue label Jan 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Fix Available A PR has been opened for this issue Source: Telemetry The issue relates to the telemetry in editors
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants