microsoft / microsoft/vscode

[Error] [GitHub.copilot-chat] unhandlederror-Object disposed Error: Object disposed at t.assertNotDisposed (<REDACTED: user-file...

Open
#333,555 1 comment 0 reactions 1 assignee Claimed by @bryanchen-d View on GitHub
ai-analyzed ai-generated bug error-telemetry extension recent-regression stable-anomaly
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

## Error Message
````
unhandlederror-Object disposed Error: Object disposed at t.assertNotDisposed ( VS /resources\app\extensions\copilot\dist\extension.js:22:1482) at ZS.getDocumentByTextDocument ( VS /resources\app\extensions\copilot\dist\extension.js:3342:17314) at fR._provideInlineCompletionItems ( VS /resources\app\extensions\copilot\dist\extension.js:5290:39147) at process.processTicksAndRejections (node::104:5)
````

## Stack Trace
    at t.assertNotDisposed ([./src/vs/base/common/lifecycle.ts:518:21](https://github.com/microsoft/vscode/blob/08d4889f9ec4a1685d257b9b95de036c8e1ce1e5/src/vs/base/common/lifecycle.ts#L518))
    at ZS.getDocumentByTextDocument (../src/extension/inlineEdits/vscode-node/parts/vscodeWorkspace.ts:354:14)
    at fR._provideInlineCompletionItems (../src/extension/inlineEdits/vscode-node/inlineCompletionProvider.ts:402:62)
    at Timeout._onTimeout ([./src/vs/base/common/errors.ts:32:11](https://github.com/microsoft/vscode/blob/08d4889f9ec4a1685d257b9b95de036c8e1ce1e5/src/vs/base/common/errors.ts#L32))
    at listOnTimeout (node::605:17) [not deminified]
    at process.processTimers (node::541:7) [not deminified]

Raw Stack Trace (minified)

````
Error: Object disposed Error: Object disposed at t.assertNotDisposed ( VS /resources\app\extensions\copilot\dist\extension.js:22:1482) at ZS.getDocumentByTextDocument ( VS /resources\app\extensions\copilot\dist\extension.js:3342:17314) at fR._provideInlineCompletionItems ( VS /resources\app\extensions\copilot\dist\extension.js:5290:39147) at process.processTicksAndRejections (node::104:5) at Timeout._onTimeout ( VS /resources\app\extensions\copilot\dist\extension.js:3:12) at listOnTimeout (node::605:17) at process.processTimers (node::541:7)
````

## Details
| Property | Value |
| --- | --- |
| Bucket ID | [`70a3ec35-9ce6-83b8-e11b-cacdf5a1f898`](https://errors.code.visualstudio.com/bucket/70a3ec35-9ce6-83b8-e11b-cacdf5a1f898?product=VSCode&extension=GitHub.copilot-chat&commit=08d4889f9ec4a1685d257b9b95de036c8e1ce1e5) |
| Extension Version | 0.63.0 |
| Last Seen | Sun Aug 30 2026 23:35:06 GMT+0000 (Coordinated Universal Time) |
| Platforms | win32 |
| Product | VSCode |

---
*This issue was automatically created from the VS Code Errors Dashboard*

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.