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.

NullPointerException: serverHTML Language Server

See original GitHub issue

I get this error sporadically and a few seconds before, the fan of my machine goes wild and the Eclipse IDE does respond very bad. The fan does not stop until I kill Eclipse and restart again. It’s not the fault of eclipse, but of this plugin:

An internal error occurred during: "Setting watch projects on serverHTML Language Server (VSCode)".
java.lang.NullPointerException

I have to kill eclipse IDE and restart again to run normally.

Eclipse IDE for Enterprise Java Developers Version: 2020-12 (4.18.0) Wild Web Developer (v0.10.6.202101221720)

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
mickaelistriacommented, Feb 2, 2021

I looked at the code and may have found 2 possible causes:

  • Either 1 project is “virtual” and doesn’t resolve to a filesystem location, or
  • the file is closed shortly after it’s opened, so the job to update the watched folder gets triggered after the LS is stopped, causing to go into an unstable state.

Both are addressed with https://git.eclipse.org/r/c/lsp4e/lsp4e/+/175677 . I’ll merge it later and then will ask you to try the newer LSP4E snapshots to verify they fix the issue.

0reactions
nimo23commented, Feb 9, 2021

updating solves this issue so far. thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NullPointerException during lsp initialization · Issue #277 · fwcd ...
Hello, I am using kotlin lsp in eclipse (i followed this tutorial to integrate the lsp with lsp4e ...
Read more >
Java language server (redhad) error in VSCode (Linux)
Since some days I get an error at startup of language server. The log file looks as follows indicating a NollPointerException:
Read more >
Why does server log file contain NullPointerException at ... - IBM
When user logs in following entry can be seen in systemOut.log: WSAbstractUse E CWLLG2015E: An unexpected runtime exception occurred.
Read more >
Problem with creating an HTML file ("Unable to start language ...
IOException: Unable to start language server: HTML Language Server: ProcessStreamConnectionProvider [commands=[null, ...
Read more >
java.lang.NullPointerException in Mid Server Logs - ServiceNow
The null pointer exception is thrown when a code attempts to use null in a case where an object is required. Try adding...
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