-
Notifications
You must be signed in to change notification settings - Fork 205
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
Live Boot Hint Decorators not working when app ObjectMapper configured with NON_DEFAULT inclusion #80
Comments
I think I figured out why. My app has an It appears that the JMX beans endpoint is using this mapper when serializing the bean information. This causes the Then when the Would be nice to support this case. I guess you could fix it on the spring boot side (by adding appropriate |
@philsttr Awesome that you found the underlying reason for this. We should definitely improve our parsing to be more robust against those "unexpected" situations. Will put that in the list of things to improve for the next release. |
Sounds like a good idea. But rather than try to anticipate all such unexpected cases it would be nice to have a example of the specific case that we are trying to fix here (would make for a great test case for our test suite). @philsttr Any chance you could attach a sample project? Otherwise we will try to make one ourselves using the information you already provided. It would just help us a out a bit if you attached a sample. |
Sure... |
I'm using a brand new STS4 4.0.0.RELEASE installation with Java 11 support
I have a new app using Spring Boot 2.1.0.M4 with spring boot actuator with JMX endpoints enabled.
When I start the spring boot app from eclipse (either run or debug), the app starts, but the Live Boot Hint Decorators do not work.
I enabled STS Language Server Debug Console for Spring Boot and saw the below exceptions in the debug console log when I start my app.
The text was updated successfully, but these errors were encountered: