[Regression] Cannot read properties of undefined (reading 'then') — terminalProcessManager.setDimensions

Open
#317,573 2 comments 0 reactions 1 assignee View on GitHub

@bryanchen-d is already working on this.

Since May 20, 2026.

Assessment

This issue has not been assessed yet.

Description

ai-analyzed ai-generated bug error-telemetry recent-regression

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

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.