-
Notifications
You must be signed in to change notification settings - Fork 145
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
Getting lots of org.eclipse.lsp4j.jsonrpc.ResponseErrorException #580
Comments
nothing else in error log of the remote site? which file types are you working with? |
No, nothing. I'll try and see what might trigger it. I think it may be related to editing an Eclipse |
then i guess this is a bug in the language server for target files. dont know if that one will write logs to disk somewhere |
@laeubi @mickaelistria do you have an idea which ls is used for target files? |
.target are XML files, so it's lemminx. |
I don't think this is true in general as Target files seem to have some special folding / coloring and code-actions so maybe there is something in between. |
@mickaelistria i see the same logged locally. is there a way to see server side log or enabling it? |
I was also editing a |
The Language Server are enabled upon document creation; even if the editor is not the Generic Editor.
You can get the messages log (between client and server) in Preferences > Language Servers > Logs. This allows to see the message, and -potentially- to indentify a message that LSP4J cannot process (this can happen when there are "breaking changes" in LSP4J so a message sent from a server using an older LSP4J cannot be read by client using newer one). As mentioned, I think it can be an incompatible message (LemMinX uses LSP4J 0.11.0) https:/eclipse/lemminx/blob/0.18.1/pom.xml#L11 |
|
Looks like eclipse/lemminx#1132. |
yes |
wonder if its intentional not to log everything on lsp4j side |
Also getting lots of
Log attached |
And the |
As far as I can see, lsp4j is not even present in stack traces in the error log. Could you please report these issues to the affected projects: WildWebDeveloper or LSP4E? Thanks! |
Yes, I thought it was connected. |
Closing as unrelated to lsp4j. The main issue described by the author is a known bug in lemminx.
I don't know the answer, but would a separate issue be a better place to discuss it? |
OK. Can you tell me which plug-in in my Eclipse installation lemminx is used that causes this? I can see this plug-in - |
It looks like any plug-in that uses lemminx is potentially affected, until the error is fixed in a new version of lemminx. Unfortunately, I don't know exactly which Eclipse plug-ins use lemminx. Just looking at the name, it may be |
Thanks for the info. :-) |
Thanks for reporting the issue! |
Sorry, no particular steps to reproduce. I'm working normally in Eclipse 4.22 but the error log shows lots of these exceptions:
eclipse.buildId=4.22.0.I20211124-1800
java.version=11.0.13
org.eclipse.lsp4j_0.12.0.v20210402-1305
org.eclipse.lsp4j.jsonrpc_0.12.0.v20210402-1305
org.eclipse.lsp4e_0.13.8.202111241523
The text was updated successfully, but these errors were encountered: