[Error] unhandlederror-Unexpected reasons: unknown,applyEdits
Nobody has claimed this yet.
Assessment
This issue has not been assessed yet.
Description
Error Message
unhandlederror-Unexpected reasons: unknown,applyEdits
Stack Trace
at (anonymous) (./src/vs/workbench/api/browser/mainThreadDocuments.ts:101:22)
at listener (./src/vs/editor/common/model/textModel.ts:246:74)
at _._deliver (./src/vs/base/common/event.ts:1364:12)
at _._deliverQueue (./src/vs/base/common/event.ts:1375:8)
at _.fire (./src/vs/base/common/event.ts:1399:8)
at $di.endDeferredEmit (./src/vs/editor/common/model/textModel.ts:2727:18)
at Ap._applyUndoRedoEdits (./src/vs/editor/common/model/textModel.ts:1478:22)
at Ap._applyUndo (./src/vs/editor/common/model/textModel.ts:1450:7)
at vM.undo (./src/vs/editor/common/model/editStack.ts:220:0)
at (anonymous) (./src/vs/platform/undoRedo/common/undoRedoService.ts:1028:0)
at invoke (./src/vs/platform/undoRedo/common/undoRedoService.ts:745:0)
at (anonymous) (./src/vs/platform/undoRedo/common/undoRedoService.ts:1028:0)
at callback (./src/vs/platform/undoRedo/common/undoRedoService.ts:788:0)
at Not._resourceUndo (./src/vs/platform/undoRedo/common/undoRedoService.ts:1026:0)
at Not._undo (./src/vs/platform/undoRedo/common/undoRedoService.ts:1109:0)
at Not.undo (./src/vs/platform/undoRedo/common/undoRedoService.ts:1076:0)
at Ap.undo (./src/vs/editor/common/model/textModel.ts:1605:31)
at O8e.runEditorCommand (./src/vs/editor/browser/coreCommands.ts:2107:0)
at O8e._runEditorCommand (./src/vs/editor/browser/coreCommands.ts:342:0)
at Object.implementation (./src/vs/editor/browser/coreCommands.ts:313:0)
Raw Stack Trace (minified)
Error: Unexpected reasons: unknown,applyEdits at out/vs/workbench/workbench.desktop.main.js:1041:7940 at Xwe.value (out/vs/workbench/workbench.desktop.main.js:698:39994) at _._deliver (out/vs/workbench/workbench.desktop.main.js:433:3269) at _._deliverQueue (out/vs/workbench/workbench.desktop.main.js:433:3358) at _.fire (out/vs/workbench/workbench.desktop.main.js:433:3693) at $di.endDeferredEmit (out/vs/workbench/workbench.desktop.main.js:708:24200) at Ap._applyUndoRedoEdits (out/vs/workbench/workbench.desktop.main.js:708:1110) at Ap._applyUndo (out/vs/workbench/workbench.desktop.main.js:708:485) at vM.undo (out/vs/workbench/workbench.desktop.main.js:677:33299) at out/vs/workbench/workbench.desktop.main.js:1818:6514 at Not._safeInvokeWithLocks (out/vs/workbench/workbench.desktop.main.js:1818:3430) at out/vs/workbench/workbench.desktop.main.js:1818:6478 at Not._invokeResourcePrepare (out/vs/workbench/workbench.desktop.main.js:1818:3831) at Not._resourceUndo (out/vs/workbench/workbench.desktop.main.js:1818:6426) at Not._undo (out/vs/workbench/workbench.desktop.main.js:1818:7491) at Not.undo (out/vs/workbench/workbench.desktop.main.js:1818:7081) at Ap.undo (out/vs/workbench/workbench.desktop.main.js:708:2666) at O8e.runEditorCommand (out/vs/workbench/workbench.desktop.main.js:476:41650) at O8e._runEditorCommand (out/vs/workbench/workbench.desktop.main.js:476:17007) at Object.implementation (out/vs/workbench/workbench.desktop.main.js:476:16683) at AF.runCommand (out/vs/workbench/workbench.desktop.main.js:442:10526) at handler (out/vs/workbench/workbench.desktop.main.js:442:9615) at a.invokeFunction (out/vs/workbench/workbench.desktop.main.js:1964:944) at int._tryExecuteCommand (out/vs/workbench/workbench.desktop.main.js:1871:4962) at int.executeCommand (out/vs/workbench/workbench.desktop.main.js:1871:4376) at HQ._doDispatch (out/vs/workbench/workbench.desktop.main.js:1849:16711) at HQ._dispatch (out/vs/workbench/workbench.desktop.main.js:1849:13610) at out/vs/workbench/workbench.desktop.main.js:1850:3124
Details
| Property | Value |
|---|---|
| Bucket ID | aca1300e-b276-d478-e42e-1e5d6408d6c5 |
| Version | 1.124.2 |
| Commit | 6928394f |
| Last Seen | Mon Jun 15 2026 23:53:42 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/vscode
-
testplan-item
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
new release
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
testplan-item
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
testplan-item
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
All issues in microsoft/vscode
Similar issues
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
vercel/react-tweet#225 ·