[Error] unhandlederror-Cannot read properties of undefined (reading 'replace')
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.4k
- PR merge metrics
- PR metrics pending
Description
## Error Message
````
unhandlederror-Cannot read properties of undefined (reading 'replace')
````
## Stack Trace
at Gg._executeContributedCommand ([./src/vs/workbench/api/common/extHostCommands.ts:271:9](https://github.com/microsoft/vscode/blob/8a7abeba6e03ea3af87bfbce9a1b7e48fed567b8/src/vs/workbench/api/common/extHostCommands.ts#L271))
Raw Stack Trace (minified)
````
Error: Cannot read properties of undefined (reading 'replace') at Gg._executeContributedCommand (out/vs/workbench/api/node/extensionHostProcess.js:535:49185)
````
## Details
| Property | Value |
| --- | --- |
| Bucket ID | [`a4793828-950e-cec6-0638-84b36fb6ecaf`](https://errors.code.visualstudio.com/bucket/a4793828-950e-cec6-0638-84b36fb6ecaf?product=VSCode&extension=core&commit=8a7abeba6e03ea3af87bfbce9a1b7e48fed567b8) |
| Version | 1.129.1 |
| Commit | [`8a7abeba`](https://insiders.vscode.dev/github/microsoft/vscode/tree/8a7abeba6e03ea3af87bfbce9a1b7e48fed567b8) |
| Last Seen | Tue Jul 21 2026 20:20:06 GMT+0000 (Coordinated Universal Time) |
| Platforms | Windows |
| Product | VSCode |
---
*This issue was automatically created from the VS Code Errors Dashboard*
Contributor guide
Assessment
This issue has not been assessed yet.