question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to start extension after upgrading to 0.14.0

See original GitHub issue

I upgraded to 0.14.0 on Mac. The language server failed to start constantly. image

The project I’m working with is the spring boot pet clinic sample project. And here are the logs:

[Info  - 10:27:56] Connection to server got closed. Server will restart.
[Trace - 10:27:56] Sending request 'initialize - (0)'.
Params: {
    "processId": 57435,
    "rootPath": "/Users/roml/Desktop/code/java/spring-petclinic",
    "rootUri": "file:///Users/roml/Desktop/code/java/spring-petclinic",
    "capabilities": {
        "workspace": {
            "applyEdit": true,
            "didChangeConfiguration": {
                "dynamicRegistration": true
            },
            "didChangeWatchedFiles": {
                "dynamicRegistration": true
            },
            "symbol": {
                "dynamicRegistration": true
            },
            "executeCommand": {
                "dynamicRegistration": true
            },
            "workspaceFolders": true,
            "configuration": true
        },
        "textDocument": {
            "synchronization": {
                "dynamicRegistration": true,
                "willSave": true,
                "willSaveWaitUntil": true,
                "didSave": true
            },
            "completion": {
                "dynamicRegistration": true,
                "completionItem": {
                    "snippetSupport": true,
                    "commitCharactersSupport": true
                }
            },
            "hover": {
                "dynamicRegistration": true
            },
            "signatureHelp": {
                "dynamicRegistration": true
            },
            "definition": {
                "dynamicRegistration": true
            },
            "references": {
                "dynamicRegistration": true
            },
            "documentHighlight": {
                "dynamicRegistration": true
            },
            "documentSymbol": {
                "dynamicRegistration": true
            },
            "codeAction": {
                "dynamicRegistration": true
            },
            "codeLens": {
                "dynamicRegistration": true
            },
            "formatting": {
                "dynamicRegistration": true
            },
            "rangeFormatting": {
                "dynamicRegistration": true
            },
            "onTypeFormatting": {
                "dynamicRegistration": true
            },
            "rename": {
                "dynamicRegistration": true
            },
            "documentLink": {
                "dynamicRegistration": true
            }
        }
    },
    "initializationOptions": {
        "bundles": [],
        "workspaceFolders": [
            "file:///Users/roml/Desktop/code/java/spring-petclinic"
        ]
    },
    "trace": "verbose",
    "workspaceFolders": [
        {
            "uri": "file:///Users/roml/Desktop/code/java/spring-petclinic",
            "name": "spring-petclinic"
        }
    ]
}


[Error - 10:27:57] Connection to server got closed. Server will not be restarted.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
rgrunbercommented, Dec 2, 2021

Can you try activating the Command Palette in VS Code and searching for Java: Clean Java Language Server Workspace for your opened project ? Does it fix the issue ?

The only thing in the logs that looks like it may have caused this is the workspace exiting with unsaved changes. Maybe this caused some kind of corruption in the metadata files.

0reactions
faxterolcommented, Jan 16, 2022

I had this issue in code-server. I fixed it deleting this directory:

~/.local/share/code-server/User/workspaceStorage

I deleted the folder and make it again. after that I restarted code server and it loads the extensions again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to install provider after upgrading to Terraform 0.14
Remove the lock file before re-running the command. This issue is caused when the only hash present is a h1 for a different...
Read more >
Error installing redmine with bundle install
First error was: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. In then asked me to look at mkmf.log, but as ...
Read more >
Install torchaudio and torchvison from wheel - Jetson Xavier NX
I am trying to setting up environment on Nvidia Jetson Xavier NX(developer kit), I have successfully make cuda, pytorch working since ...
Read more >
Troubleshooting - NGINX Ingress Controller - Kubernetes
Strace the executable to see what system calls are being executed when it fails: $ apk add strace (1/1) Installing strace (5.12-r0) ...
Read more >
vscode-xml 0.14.0: A more customizable XML extension for ...
Get a guided tour of the XML extension for VS Code 0.14.0 release, ... When viewing a Maven pom.xml , it is important...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found