[Error] unhandlederror-Model is disposed!

Open
#318,217 1 comment 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

Assessment

This issue has not been assessed yet.

Description

ai-analyzed ai-generated bug error-telemetry

Error Message

unhandlederror-Model is disposed!

Stack Trace

    at Tp._assertNotDisposed (./src/vs/editor/common/model/textModel.ts:445:9)
    at Tp.getValueInRange (./src/vs/editor/common/model/textModel.ts:832:7)
    at UA (./src/vs/editor/contrib/inlineCompletions/browser/model/singleTextEditHelpers.ts:18:30)
    at singleTextRemoveCommonPrefix (./src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionIsVisible.ts:13:30)
    at inlineCompletionIsVisible (./src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.ts:380:9)
    at Lb._computeFn (./src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.ts:529:19)
    at Lb._recompute (./src/vs/base/common/observableInternal/observables/derivedImpl.ts:201:23)
    at Lb.get (./src/vs/base/common/observableInternal/observables/derivedImpl.ts:159:10)
    at Lb.reportChanges (./src/vs/base/common/observableInternal/observables/baseObservable.ts:45:7)
    at Lb.get (./src/vs/base/common/observableInternal/observables/derivedImpl.ts:143:8)

Raw Stack Trace (minified)
Error: Model is disposed!     at Tp._assertNotDisposed (out/vs/workbench/workbench.desktop.main.js:669:472)     at Tp.getValueInRange (out/vs/workbench/workbench.desktop.main.js:671:4928)     at UA (out/vs/workbench/workbench.desktop.main.js:894:8)     at P_t (out/vs/workbench/workbench.desktop.main.js:894:7291)     at a.isVisible (out/vs/workbench/workbench.desktop.main.js:895:17901)     at Lb._computeFn (out/vs/workbench/workbench.desktop.main.js:898:41164)     at Lb._recompute (out/vs/workbench/workbench.desktop.main.js:407:13171)     at Lb.get (out/vs/workbench/workbench.desktop.main.js:407:12505)     at Lb.reportChanges (out/vs/workbench/workbench.desktop.main.js:407:497)     at Lb.get (out/vs/workbench/workbench.desktop.main.js:407:12412)     at Lb.reportChanges (out/vs/workbench/workbench.desktop.main.js:407:497)     at Lb.get (out/vs/workbench/workbench.desktop.main.js:407:12412)     at Lb.reportChanges (out/vs/workbench/workbench.desktop.main.js:407:497)     at yB.endUpdate (out/vs/workbench/workbench.desktop.main.js:407:7247)     at Lb.endUpdate (out/vs/workbench/workbench.desktop.main.js:407:14172)     at Lb.endUpdate (out/vs/workbench/workbench.desktop.main.js:407:14172)     at Lb.endUpdate (out/vs/workbench/workbench.desktop.main.js:407:14172)     at Lb.endUpdate (out/vs/workbench/workbench.desktop.main.js:407:14172)     at Lb.endUpdate (out/vs/workbench/workbench.desktop.main.js:407:14172)     at Lb.endUpdate (out/vs/workbench/workbench.desktop.main.js:407:14172)     at Lb.endUpdate (out/vs/workbench/workbench.desktop.main.js:407:14172)     at Lb.endUpdate (out/vs/workbench/workbench.desktop.main.js:407:14172)     at wbt._endUpdate (out/vs/workbench/workbench.desktop.main.js:407:4333)     at Object.endUpdate (out/vs/workbench/workbench.desktop.main.js:407:4863)     at sF.finish (out/vs/workbench/workbench.desktop.main.js:406:110051)     at a._endUpdate (out/vs/workbench/workbench.desktop.main.js:852:32201)     at Qye.value (out/vs/workbench/workbench.desktop.main.js:852:30739)     at T._deliver (out/vs/workbench/workbench.desktop.main.js:405:3269)     at T.fire (out/vs/workbench/workbench.desktop.main.js:405:3588)     at us._endUpdate (out/vs/workbench/workbench.desktop.main.js:682:25309)     at Object.batchChanges (out/vs/workbench/workbench.desktop.main.js:682:19635)     at Lxt._withViewEventsCollector (out/vs/workbench/workbench.desktop.main.js:680:4528)     at Lxt._executeCursorEdit (out/vs/workbench/workbench.desktop.main.js:680:2873)     at Lxt.executeCommands (out/vs/workbench/workbench.desktop.main.js:680:3546)     at us.executeCommands (out/vs/workbench/workbench.desktop.main.js:682:11636)     at a.runCoreEditingCommand (out/vs/workbench/workbench.desktop.main.js:448:40899)     at a.runEditorCommand (out/vs/workbench/workbench.desktop.main.js:448:39364)     at out/vs/workbench/workbench.desktop.main.js:414:11305     at out/vs/workbench/workbench.desktop.main.js:414:11216     at a.invokeFunction (out/vs/workbench/workbench.desktop.main.js:1904:944)     at us.invokeWithinContext (out/vs/workbench/workbench.desktop.main.js:680:17672)     at a.runEditorCommand (out/vs/workbench/workbench.desktop.main.js:414:11142)     at a.runCommand (out/vs/workbench/workbench.desktop.main.js:414:11252)     at handler (out/vs/workbench/workbench.desktop.main.js:414:9617)     at a.invokeFunction (out/vs/workbench/workbench.desktop.main.js:1904:944)     at Nit._tryExecuteCommand (out/vs/workbench/workbench.desktop.main.js:1811:4962)     at Nit.executeCommand (out/vs/workbench/workbench.desktop.main.js:1811:4376)     at J8._doDispatch (out/vs/workbench/workbench.desktop.main.js:1789:16679)     at J8._dispatch (out/vs/workbench/workbench.desktop.main.js:1789:13578)     at out/vs/workbench/workbench.desktop.main.js:1790:3124

Details

Property Value
Bucket ID 2ec813f2-ccc3-1334-e621-a5a65c51a2ee
Version 1.121.0
Commit f6cfa2ea
Last Seen Sun May 24 2026 23:59:41 GMT+0000 (Coordinated Universal Time)
Platforms Windows, Mac, Linux
Product VSCode

This issue was automatically created from the VS Code Errors Dashboard

Dominant language
TypeScript
Stars
193k
Forks
42.9k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode

All issues in microsoft/vscode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.