[Regression] Cannot read properties of undefined (reading 'then') — terminalProcessManager.setDimensions
@bryanchen-d is already working on this.
Since May 20, 2026.
Assessment
This issue has not been assessed yet.
Description
Error Message
unhandlederror-Cannot read properties of undefined (reading 'then')
Stack Trace
at b2e.setDimensions (./src/vs/workbench/contrib/terminal/browser/terminalProcessManager.ts:608:0)
at Ov._updatePtyDimensions (./src/vs/workbench/contrib/terminal/browser/terminalInstance.ts:2073:0)
at bpt._resizeBothCallback (./src/vs/workbench/contrib/terminal/browser/terminalInstance.ts:823:0)
at bpt.resize (./src/vs/workbench/contrib/terminal/browser/terminalResizeDebouncer.ts:46:8)
at Ov._resize (./src/vs/workbench/contrib/terminal/browser/terminalInstance.ts:2062:0)
at Ov.setVisible (./src/vs/workbench/contrib/terminal/browser/terminalInstance.ts:1428:0)
at Qye.value (./src/vs/workbench/contrib/terminal/browser/terminalInstance.ts:591:0)
at T._deliver (./src/vs/base/common/event.ts:1364:12)
at T._deliverQueue (./src/vs/base/common/event.ts:1375:8)
at T.fire (./src/vs/base/common/event.ts:1399:8)
at JJt.triggerConfigurationChange (./src/vs/workbench/services/configuration/browser/configurationService.ts:1124:0)
at JJt.onDefaultConfigurationChanged (./src/vs/workbench/services/configuration/browser/configurationService.ts:773:0)
at Qye.value (./src/vs/workbench/services/configuration/browser/configurationService.ts:156:0)
at T._deliver (./src/vs/base/common/event.ts:1364:12)
at T._deliverQueue (./src/vs/base/common/event.ts:1375:8)
at T.fire (./src/vs/base/common/event.ts:1399:8)
at a.onDidUpdateConfiguration (./src/vs/platform/configuration/common/configurations.ts:49:33)
at a.onDidUpdateConfiguration (./src/vs/workbench/services/configuration/browser/configuration.ts:92:8)
at Qye.value (./src/vs/platform/configuration/common/configurations.ts:38:148)
at T._deliver (./src/vs/base/common/event.ts:1364:12)
Raw Stack Trace (minified)
TypeError: Cannot read properties of undefined (reading 'then') at b2e.setDimensions (out/vs/workbench/workbench.desktop.main.js:4026:590) at Ov._updatePtyDimensions (out/vs/workbench/workbench.desktop.main.js:4030:3437) at bpt._resizeBothCallback (out/vs/workbench/workbench.desktop.main.js:4026:33479) at bpt.resize (out/vs/workbench/workbench.desktop.main.js:4026:14619) at Ov._resize (out/vs/workbench/workbench.desktop.main.js:4030:3214) at Ov.setVisible (out/vs/workbench/workbench.desktop.main.js:4029:7142) at Qye.value (out/vs/workbench/workbench.desktop.main.js:4026:25112) at T._deliver (out/vs/workbench/workbench.desktop.main.js:405:3269) at T._deliverQueue (out/vs/workbench/workbench.desktop.main.js:405:3358) at T.fire (out/vs/workbench/workbench.desktop.main.js:405:3693) at JJt.triggerConfigurationChange (out/vs/workbench/workbench.desktop.main.js:4955:61813) at JJt.onDefaultConfigurationChanged (out/vs/workbench/workbench.desktop.main.js:4955:52606) at Qye.value (out/vs/workbench/workbench.desktop.main.js:4955:39341) at T._deliver (out/vs/workbench/workbench.desktop.main.js:405:3269) at T._deliverQueue (out/vs/workbench/workbench.desktop.main.js:405:3358) at T.fire (out/vs/workbench/workbench.desktop.main.js:405:3693) at a.onDidUpdateConfiguration (out/vs/workbench/workbench.desktop.main.js:4954:2736) at a.onDidUpdateConfiguration (out/vs/workbench/workbench.desktop.main.js:4955:14378) at Qye.value (out/vs/workbench/workbench.desktop.main.js:4954:2450) at T._deliver (out/vs/workbench/workbench.desktop.main.js:405:3269) at T._deliverQueue (out/vs/workbench/workbench.desktop.main.js:405:3358) at T.fire (out/vs/workbench/workbench.desktop.main.js:405:3693) at Zni.updateConfigurations (out/vs/workbench/workbench.desktop.main.js:434:74224) at syi (out/vs/workbench/workbench.desktop.main.js:1028:1465) at fIe._updateConfiguration (out/vs/workbench/workbench.desktop.main.js:4135:15478) at Qye.value (out/vs/workbench/workbench.desktop.main.js:4135:14964) 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 nii._fn (out/vs/workbench/workbench.desktop.main.js:1043:34691) at nii.dispose (out/vs/workbench/workbench.desktop.main.js:403:1320) at je (out/vs/workbench/workbench.desktop.main.js:403:747) at vy.clear (out/vs/workbench/workbench.desktop.main.js:403:1636) at vy.dispose (out/vs/workbench/workbench.desktop.main.js:403:1546) at Qye.value (out/vs/workbench/workbench.desktop.main.js:4026:26694) at T._deliver (out/vs/workbench/workbench.desktop.main.js:405:3269) at T._deliverQueue (out/vs/workbench/workbench.desktop.main.js:405:3358) at T.fire (out/vs/workbench/workbench.desktop.main.js:405:3693) at Ov.dispose (out/vs/workbench/workbench.desktop.main.js:4029:5533) at Ov._onProcessExit (out/vs/workbench/workbench.desktop.main.js:4029:13868)
Details
| Property | Value |
|---|---|
| Bucket ID | 939be0b4-8905-1641-2ad1-79e35d817c95 |
| Version | 1.121.0-insider |
| Commit | e9f40e53 |
| Last Seen | Tue May 19 2026 23:52:54 GMT+0000 (Coordinated Universal Time) |
| Platforms | Mac, Windows, 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 ·