-
Notifications
You must be signed in to change notification settings - Fork 2k
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
java-language-server throws exception #2769
Comments
Having the same issue. |
Thanks for your report. This is not a support channel. The configs in this repo are unsupported and provided only as a starting point. We depend on users (like you) to troubleshoot issues with their specific LSP setups and send improvements. If you found a bug in the core Nvim
|
Same problem here after install java-language-server using mason in the LazyVim |
It seems this is a bug with the language server itself, though it can be worked around georgewfraser/java-language-server#267 |
Description
java-language-server
throws exception on opening java file from inside a java project.the server is installed via
mason.nvim
plugin.Neovim version
Tried with two nvim versions:
NVIM v0.10.0-dev-585+g2e055e49a
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
NVIM v0.9.1
Build type: Release
LuaJIT 2.1.0-beta3
Nvim-lspconfig version
No response
Operating system and version
Ubuntu 23.04
Affected language servers
java-language-server
Steps to reproduce
.java
file from a java project in nvim using the minimal config.I tried with the following projects:
Actual behavior
exception 1 : project openjdk/jdk
there's an exception in the messages:
here's the lsp log for this scenario.
exception 2: project pubnub/java
in this project, I get a different exception:
and then the server starts. Here's the lsp log for the second scenario.
Expected behavior
the server provides proper outputs without any exceptions.
Minimal config
LSP log
https://gist.github.com/GLaDOS-418/70420e34b2b09214a2993f3764a64f08
The text was updated successfully, but these errors were encountered: