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

Handle plugins without specified names #42718

DanielRosenwasser opened this issue Feb 9, 2021 · 0 comments · Fixed by #42717

Handle plugins without specified names #42718

DanielRosenwasser opened this issue Feb 9, 2021 · 0 comments · Fixed by #42717
Bug Crash Domain: TSServer Fix Available


Copy link

@DanielRosenwasser DanielRosenwasser commented Feb 9, 2021

From microsoft/vscode#116219
Handled at #42717

Patch must be picked to 3.1, 3.7, 3.9, 4.0, and 4.1.

TypeError: Cannot read property 'indexOf' of undefined
    at Object.parsePackageName (/Applications/Visual Studio
    at ConfiguredProject.Project.enablePlugin (/Applications/Visual Studio
    at ConfiguredProject.enablePluginsWithOptions (/Applications/Visual Studio
    at ProjectService.loadConfiguredProject (/Applications/Visual Studio
    at ProjectService.createAndLoadConfiguredProject (/Applications/Visual Studio
    at ProjectService.createLoadAndUpdateConfiguredProject (/Applications/Visual Studio
    at ProjectService.assignProjectToOpenedScriptInfo (/Applications/Visual Studio
    at /Applications/Visual Studio
    at Object.flatMap (/Applications/Visual Studio
    at ProjectService.applyChangesInOpenFiles (/Applications/Visual Studio
    at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/Applications/Visual Studio
    at /Applications/Visual Studio
    at IOSession.Session.executeWithRequestId (/Applications/Visual Studio
    at IOSession.Session.executeCommand (/Applications/Visual Studio
    at IOSession.Session.onMessage (/Applications/Visual Studio
    at Interface.<anonymous> (/Applications/Visual Studio
    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)
@DanielRosenwasser DanielRosenwasser added Bug Domain: TSServer Crash labels Feb 9, 2021
@DanielRosenwasser DanielRosenwasser added this to the TypeScript 4.1.5 milestone Feb 9, 2021
@typescript-bot typescript-bot added the Fix Available label Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Bug Crash Domain: TSServer Fix Available
None yet

Successfully merging a pull request may close this issue.

3 participants