Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language Server Crash - Server will not be restarted #527

Closed
coolhome opened this issue Jun 13, 2023 · 2 comments
Closed

Language Server Crash - Server will not be restarted #527

coolhome opened this issue Jun 13, 2023 · 2 comments
Labels
Area: VsCodeExtension bug Something isn't working

Comments

@coolhome
Copy link

Below is the stack trace. Unfortunately, it was broken for so long without me noticing I was not able to find what actually triggered it. I did not see this with any other server.js errors in issues.

c:\Users\user\.vscode\extensions\ms-azure-devops.azure-pipelines-1.208.0\dist\server.js:1903
                item.mappings[0].key.value.startsWith("${{") &&
                                 ^

TypeError: Cannot read properties of undefined (reading 'key')
    at addItemsToArrayNode (c:\Users\user\.vscode\extensions\ms-azure-devops.azure-pipelines-1.208.0\dist\server.js:1903:34)
    at recursivelyBuildAst (c:\Users\user\.vscode\extensions\ms-azure-devops.azure-pipelines-1.208.0\dist\server.js:1814:13)
    at recursivelyBuildAst (c:\Users\user\.vscode\extensions\ms-azure-devops.azure-pipelines-1.208.0\dist\server.js:1806:48)
    at addPropertiesToObjectNode (c:\Users\user\.vscode\extensions\ms-azure-devops.azure-pipelines-1.208.0\dist\server.js:1883:30)
    at recursivelyBuildAst (c:\Users\user\.vscode\extensions\ms-azure-devops.azure-pipelines-1.208.0\dist\server.js:1794:13)
    at recursivelyBuildAst (c:\Users\user\.vscode\extensions\ms-azure-devops.azure-pipelines-1.208.0\dist\server.js:1806:48)
    at addPropertiesToObjectNode (c:\Users\user\.vscode\extensions\ms-azure-devops.azure-pipelines-1.208.0\dist\server.js:1883:30)
    at recursivelyBuildAst (c:\Users\user\.vscode\extensions\ms-azure-devops.azure-pipelines-1.208.0\dist\server.js:1794:13)
    at recursivelyBuildAst (c:\Users\user\.vscode\extensions\ms-azure-devops.azure-pipelines-1.208.0\dist\server.js:1806:48)
    at addPropertiesToObjectNode (c:\Users\user\.vscode\extensions\ms-azure-devops.azure-pipelines-1.208.0\dist\server.js:1883:30)
[Error - 4:56:47 PM] Connection to server got closed. Server will not be restarted.
@coolhome
Copy link
Author

This may be fixed with this but 1.7.0 has not been released on the vscode extension yet

microsoft/azure-pipelines-language-server#141

@KonstantinTyukalov KonstantinTyukalov added bug Something isn't working and removed triage labels Jun 14, 2023
@winstliu
Copy link
Member

Now released, sorry for the delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: VsCodeExtension bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants