-
Notifications
You must be signed in to change notification settings - Fork 210
[refactoring] converting a simple rest service guide to Spring Boot 3 fails #867
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Yes, I noticed this briefly while upgrading petclinic to 3.0. Thought about giving 4.16.1 a -1 because of this but then I stopped seeing this error and no else from those testing the build complained. If I can reproduce this reliably with Rest Service Guide I'd be happy to get to the bottom of this. |
@martinlippert did you have POM file opened while upgrading? If yes, switch off XML Language Server and try again I suspect that the errors might go away... Also before bringing up the rewrite recipes selector dialog project contents need to be saved - I'll address this. |
Yes, that indeed makes the error go away, but I am wondering what exactly triggers this error. Will look more into this, I guess. |
This seems to be the error message that causes the exception:
It looks like the command to execute the rewrite recipes is being sent to the XML language server:
|
In addition that it looks to me like the message that is being sent to the language server to execute the command is extremely long (more than 500k (!)). So it looks like we need to investigate why this message is being sent to the XML language server and why this message is so long. |
@martinlippert good finds... I think I understand why the command goes out to XML LS when pom is opened. I think it is because of this:
Instead i plan to use The long message issue... this is due to me sending recipe descriptors for the selected recipes... Recipe descriptor is ane exact data required to create a recipe on the server side, i.e description, name, parameters. Although i think 500Kb is a bit too much even for this data... |
I limited command execution only to Boot LS with this: dd2f60a |
I created a new issue for the message size issue: #897 |
Tested this with the latest nightly build, looks great. Closing this one as fixed. |
Converting a standard
Rest Service
guide to Spring Boot 3 using the OpenRewrite recipes fails with:The language server output doesn't show anything, no exception and no other error message related to this.
The text was updated successfully, but these errors were encountered: