Skip to content

[Error] unhandlederror-Cannot read properties of undefined (reading 'firstChild') #310358

@vs-code-engineering

Description

@vs-code-engineering

Error Message

unhandlederror-Cannot read properties of undefined (reading 'firstChild')

Stack Trace

    at kt (./src/vs/base/browser/dom.ts:219:13)
    at clearNode (./src/vs/workbench/browser/parts/banner/bannerPart.ts:188:0)
    at rmt.updateWorkbenchIndicators (./src/vs/workbench/contrib/workspace/browser/workspace.contribution.ts:403:0)
    at cye.value (./src/vs/workbench/contrib/workspace/browser/workspace.contribution.ts:346:0)
    at E._deliver (./src/vs/base/common/event.ts:1354:12)
    at E._deliverQueue (./src/vs/base/common/event.ts:1365:8)
    at E.fire (./src/vs/base/common/event.ts:1389:8)
    at kTe.updateWorkspaceTrust (./src/vs/workbench/services/workspaces/common/workspaceTrust.ts:348:25)
    at async cye.value (./src/vs/workbench/services/workspaces/common/workspaceTrust.ts:190:79)

Raw Stack Trace (minified)
TypeError: Cannot read properties of undefined (reading 'firstChild')     at kt (out/vs/sessions/sessions.desktop.main.js:411:2400)     at Ket.show (out/vs/sessions/sessions.desktop.main.js:1299:135317)     at rmt.updateWorkbenchIndicators (out/vs/sessions/sessions.desktop.main.js:4111:27841)     at cye.value (out/vs/sessions/sessions.desktop.main.js:4111:26564)     at E._deliver (out/vs/sessions/sessions.desktop.main.js:405:3066)     at E._deliverQueue (out/vs/sessions/sessions.desktop.main.js:405:3155)     at E.fire (out/vs/sessions/sessions.desktop.main.js:405:3490)     at kTe.updateWorkspaceTrust (out/vs/sessions/sessions.desktop.main.js:954:6909)     at async cye.value (out/vs/sessions/sessions.desktop.main.js:954:3886)

Details

Property Value
Bucket ID 7bee8418-38a2-e42b-2af1-d0d5067493ad
Version 1.115.0-insider
Commit 41dd792b
Last Seen Tue Apr 14 2026 18:35:42 GMT+0000 (Coordinated Universal Time)
Platforms Mac, Windows
Product Agents

This issue was automatically created from the VS Code Errors Dashboard

Metadata

Metadata

Assignees

Labels

agentsai-analyzedAI automation workflow has run an analysis of this issue and provided a comment.ai-generatedGenerated by AI automation workflowsbugIssue identified by VS Code Team member as probable bugerror-telemetryVS Code - Issues generated by telemetryrecent-regression

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions