Skip to content

Cannot read property 'length' of undefined #19791

@bpasero

Description

@bpasero

Just saw this editing preferences running "out of sources":

Cannot read property 'length' of undefined: TypeError: Cannot read property 'length' of undefined
    at UnsupportedWorkspaceSettingsContribution.checkWorkspaceSettings (file:////Users/bpasero/Development/Microsoft/monaco/out/vs/workbench/parts/trust/electron-browser/unsupportedWorkspaceSettings.contribution.js:40:49)
    at file:////Users/bpasero/Development/Microsoft/monaco/out/vs/workbench/parts/trust/electron-browser/unsupportedWorkspaceSettings.contribution.js:27:121
    at CallbackList.invoke (file:////Users/bpasero/Development/Microsoft/monaco/out/vs/base/common/callbackList.js:57:43)
    at Emitter.fire (file:////Users/bpasero/Development/Microsoft/monaco/out/vs/base/common/event.js:88:40)
    at WorkspaceConfigurationService.onBaseConfigurationChanged (file:////Users/bpasero/Development/Microsoft/monaco/out/vs/workbench/services/configuration/node/configurationService.js:64:48)
    at file:////Users/bpasero/Development/Microsoft/monaco/out/vs/workbench/services/configuration/node/configurationService.js:43:113
    at CallbackList.invoke (file:////Users/bpasero/Development/Microsoft/monaco/out/vs/base/common/callbackList.js:57:43)
    at Emitter.fire (file:////Users/bpasero/Development/Microsoft/monaco/out/vs/base/common/event.js:88:40)
    at ConfigurationService.onConfigurationChange (file:////Users/bpasero/Development/Microsoft/monaco/out/vs/platform/configuration/node/configurationService.js:43:44)

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugconfigVS Code configuration, settingsverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions