-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Description
Bug Description:
Hi,
When upgraded from Theia 1.64 to 1.65, I got this error on page load (as a notification pop-up):
Activating plugin 'XML' failed: Cannot set properties of undefined (setting 'file')
And in the browser console logs:
2025-10-03T10:22:23.378Z root ERROR [9a27bbe6-5a5e-43eb-b7ec-7e2f7a59b703][redhat.vscode-xml]: Failed to load 'configuration' contribution. Error: Property with id 'redhat.telemetry.enabled' already exists
at PreferenceSchemaServiceImpl.addSchema (http://localhost:3001/bundle.js:407618:23)
at http://localhost:3001/packages_plugin-ext_lib_hosted_browser_hosted-plugin_js.js:8274:87
at pushContribution (http://localhost:3001/packages_plugin-ext_lib_hosted_browser_hosted-plugin_js.js:8265:32)
at PluginContributionHandler.handleContributions (http://localhost:3001/packages_plugin-ext_lib_hosted_browser_hosted-plugin_js.js:8274:17)
at HostedPluginSupport.handleContributions (http://localhost:3001/packages_plugin-ext_lib_hosted_browser_hosted-plugin_js.js:723:41)
at HostedPluginSupport.loadContributions (http://localhost:3001/packages_plugin-ext_lib_hosted_browser_hosted-plugin_js.js:1476:41)
at HostedPluginSupport.doLoad (http://localhost:3001/packages_plugin-ext_lib_hosted_browser_hosted-plugin_js.js:1361:42)
at async ProgressService.withProgress (http://localhost:3001/bundle.js:408571:20)
at async http://localhost:3001/packages_plugin-ext_lib_hosted_browser_hosted-plugin_js.js:1317:17
2025-10-03T10:22:25.151Z plugin-manager ERROR Activating plugin 'XML' failed: TypeError: Cannot set properties of undefined (setting 'file')
at t.getXMLSettings (/Users/safi/dev/theia/plugins/vscode.xml-redhat/extension/dist/extension.js:1:345027)
at /Users/safi/dev/theia/plugins/vscode.xml-redhat/extension/dist/extension.js:1:302041
at /Users/safi/dev/theia/plugins/vscode.xml-redhat/extension/dist/extension.js:1:302668
at Generator.next (<anonymous>)
at /Users/safi/dev/theia/plugins/vscode.xml-redhat/extension/dist/extension.js:1:301302
at new Promise (<anonymous>)
at r (/Users/safi/dev/theia/plugins/vscode.xml-redhat/extension/dist/extension.js:1:301047)
at t.startLanguageClient (/Users/safi/dev/theia/plugins/vscode.xml-redhat/extension/dist/extension.js:1:301851)
at /Users/safi/dev/theia/plugins/vscode.xml-redhat/extension/dist/extension.js:1:317609
at Generator.next (<anonymous>)
2025-10-03T10:22:25.995Z plugin-host ERROR Promise rejection not handled in one second: Error: Cannot set configuration for unknown language svg , reason: Error: Cannot set configuration for unknown language svg
2025-10-03T10:22:25.995Z plugin-host ERROR With stack trace: Error: Cannot set configuration for unknown language svg
at Object.setLanguageConfiguration (standaloneLanguages.ts:97:9)
at LanguagesMainPluginMetrics.$setLanguageConfiguration (languages-main.ts:172:48)
at RPCProtocolImpl.handleRequest (rpc-protocol.ts:108:31)
at RpcProtocol.requestHandler (rpc-protocol.ts:88:89)
at RpcProtocol.handleRequest (rpc-protocol.ts:232:39)
at RpcProtocol.handleMessage (rpc-protocol.ts:104:26)
at rpc-protocol.ts:88:66
at event.ts:176:42
at CallbackList.invoke (event.ts:184:26)
at Emitter.fire (event.ts:327:36)
Steps to Reproduce:
- Install Redhat XML plugin
- Open an XML file in the browser app
- You will see the activation notification error
- Open console logs from dev-tools, you will see the above errors
Additional Information
- Operating System: Mac - chrome
- Theia Version: 1.65
Metadata
Metadata
Assignees
Labels
No labels