microsoft / AL

Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
MIT License
737 stars 243 forks source link

Error while publishing Cannot read properties of undefined (reading 'getWorkspaceSettings') #7711

Closed jjsalvomateos closed 5 months ago

jjsalvomateos commented 5 months ago

hello, I have a problem with the AL extension in version v12.7.964847, when I to press the F5 button to publish I get the following error:

[Error - 14:00:10] Sending notification workspace/didChangeConfiguration failed TypeError: Cannot read properties of undefined (reading 'getWorkspaceSettings') at didChangeConfiguration (c:\Users\user.vscode\extensions\ms-dynamics-smb.al-12.7.964847\dist\webpack:\al\src\services\editorService.ts:103:17) at t.SyncConfigurationFeature.unregister [as onDidChangeConfiguration] (c:\Users\user.vscode\extensions\ms-dynamics-smb.al-12.7.964847\dist\webpack:\al\node_modules\vscode-languageclient\lib\common\configuration.js:165:32) at t.SyncConfigurationFeature.register (c:\Users\user.vscode\extensions\ms-dynamics-smb.al-12.7.964847\dist\webpack:\al\node_modules\vscode-languageclient\lib\common\configuration.js:128:5) at t.SyncConfigurationFeature.async [as initialize] (c:\Users\user.vscode\extensions\ms-dynamics-smb.al-12.7.964847\dist\webpack:\al\node_modules\vscode-languageclient\lib\common\configuration.js:119:5) at S.initializationFailedHandler [as initializeFeatures] (c:\Users\user.vscode\extensions\ms-dynamics-smb.al-12.7.964847\dist\webpack:\al\node_modules\vscode-languageclient\lib\common\client.js:1289:5) at StartFailed [as doInitialize] (c:\Users\user.vscode\extensions\ms-dynamics-smb.al-12.7.964847\dist\webpack:\al\node_modules\vscode-languageclient\lib\common\client.js:827:37) at S.start (c:\Users\user.vscode\extensions\ms-dynamics-smb.al-12.7.964847\dist\webpack:\al\node_modules\vscode-languageclient\lib\common\client.js:709:39)

In older versions I have no problems to publish, but it returns me error the environment for being in an old version.

Can anyone help me?

thloke commented 5 months ago

Duplicate of https://github.com/microsoft/AL/issues/7664