Skip to content

Error activating the extension in tests of another extension #24348

@DonJayamanne

Description

@DonJayamanne

Here's the output when running Jupyter tests via a CLI

Error: Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!
    at H3.add (file:///Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:24:1439)
    at I8.B (file:///Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:24:2007)
    at I8.getScopedEnvironmentVariableCollection (file:///Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:49475)
    at bO.getScoped (file:///Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:116:441)
    at R.getEnvironmentVariableCollection (/Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.17.2024102201-darwin-arm64/out/client/extension.js:2:907142)
    at R._applyCollectionImpl (/Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.17.2024102201-darwin-arm64/out/client/extension.js:2:902069)
    at R._applyCollection (/Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.17.2024102201-darwin-arm64/out/client/extension.js:2:901766)
    at R.activate (/Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.17.2024102201-darwin-arm64/out/client/extension.js:2:901505)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 3)
    at v.activateWorkspace (/Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.17.2024102201-darwin-arm64/out/client/extension.js:2:2405)

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugtriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions