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

Unable to start language server #119

Closed
wimjongman opened this issue Jan 20, 2019 · 7 comments
Closed

Unable to start language server #119

wimjongman opened this issue Jan 20, 2019 · 7 comments

Comments

@wimjongman
Copy link
Contributor

All languages fail to start the language server with the stacktrace below. Also an occiasional NPE is thrown.

[1]
eclipse.buildId=4.11.0.I20190115-1800
java.version=1.8.0_151
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_GB
Command-line arguments: -os win32 -ws win32 -arch x86_64 -data file:/C:/Users/jongw/workspaces/openapi.web/

This is a continuation of log file C:\Users\jongw\workspaces\openapi.web.metadata.bak_2.log
Created Time: 2019-01-19 12:47:35.744

org.eclipse.lsp4e
Error
Sun Jan 20 17:32:43 CET 2019
Unable to start language server: HTML Language Server: org.eclipse.wildwebdeveloper.html.HTMLLanguageServer@3d7ff89d

java.io.IOException: Unable to start language server: HTML Language Server: org.eclipse.wildwebdeveloper.html.HTMLLanguageServer@3d7ff89d
at org.eclipse.lsp4e.server.ProcessStreamConnectionProvider.start(ProcessStreamConnectionProvider.java:44)
at org.eclipse.lsp4e.LanguageServerWrapper.start(LanguageServerWrapper.java:206)
at org.eclipse.lsp4e.LanguageServerWrapper.getInitializedServer(LanguageServerWrapper.java:562)
at org.eclipse.lsp4e.LanguageServerWrapper.getServerCapabilities(LanguageServerWrapper.java:593)
at org.eclipse.lsp4e.LanguageServiceAccessor$LSPDocumentInfo.getCapabilites(LanguageServiceAccessor.java:129)
at org.eclipse.lsp4e.operations.codelens.CodeLensProvider.lambda$0(CodeLensProvider.java:42)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1582)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)

[2]
eclipse.buildId=4.11.0.I20190115-1800
java.version=1.8.0_151
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_GB
Command-line arguments: -os win32 -ws win32 -arch x86_64 -data file:/C:/Users/jongw/workspaces/openapi.web/

This is a continuation of log file C:\Users\jongw\workspaces\openapi.web.metadata.bak_2.log
Created Time: 2019-01-19 12:47:35.744

org.eclipse.jface.text
Error
Sun Jan 20 17:32:43 CET 2019
java.lang.NullPointerException

java.util.concurrent.CompletionException: java.lang.NullPointerException
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
at java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:991)
at java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2124)
at org.eclipse.lsp4e.operations.codelens.CodeLensProvider.lambda$0(CodeLensProvider.java:45)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1582)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: java.lang.NullPointerException
at org.eclipse.lsp4e.operations.codelens.CodeLensProvider.lambda$2(CodeLensProvider.java:45)
at java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:981)
... 8 more

@wimjongman
Copy link
Contributor Author

After installing node and setting it to the path the errors went away.

@mickaelistria
Copy link
Contributor

Related: #23 and #55.

@nobbih
Copy link

nobbih commented Aug 28, 2020

How to handle that error when I do not want to install node on my machine ?

@mickaelistria
Copy link
Contributor

Try to install from https://download.eclipse.org/wildwebdeveloper/releases/latest/ , and make sure the "node.js embedder" feature gets installed.

@nobbih
Copy link

nobbih commented Aug 28, 2020

Is that installing node.js on my machine ?

@nobbih
Copy link

nobbih commented Aug 28, 2020

I desinstalled the wildwebdeveloper stuff. Now I got rid of the error messages. Only eclipse is complaining about an uncomplete installation. But that I ignore. if node.js is becoming a necessary component I will have to change the development tool.

@jabby
Copy link
Contributor

jabby commented Aug 28, 2020

See #55 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants