You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the server fails to start 95% of the time when started with the -noverify flag, and rarely succeeds, which smells like a race condition.
After some tracing, I found that, when the server is started the following happens:
LanguageServer application is accessed on main thread
it triggers JavaLanguageServerPlugin start(), which starts the JavaClientConnection which spawns some other Thread(s)
the Initialization handler is called before above start() ends from an LSP Thread, which NPEs on JavaLanguageServerPlugin.getLanguageServer().setParentProcessId(...); because the language server hasn't been set
JavaLanguageServerPlugin start() has finished, the LanguageServer is set on JavaLanguageServerPlugin the main thread. Too late.
The text was updated successfully, but these errors were encountered:
So the server fails to start 95% of the time when started with the -noverify flag, and rarely succeeds, which smells like a race condition.
After some tracing, I found that, when the server is started the following happens:
The text was updated successfully, but these errors were encountered: