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
Follow instructions in LiveReload section causes ClassCastException #646
Comments
Which IDE are you using? |
Intellij in my case and is broken for customer on Eclipse. So should not matter. I actually added simple System.out.printl. No changes to "working" code as per se. Or just pressing save the file(no changes)--> it reloads automatically--> exception thrown Default storage. Plain Bakery app + adding dependencies and configuration as mention in the documentation. |
Even though hotswapping itself works fine. |
We've discovered that exception happens if the change related to the view with a By the way, using |
Thanks, @alexberazouski :) |
Upon further investigation, we discovered it is a serialization issue. The exception is misleading and there is a bug reported for spring boot for that: spring-projects/spring-boot#9457 I created an issue in vaadin-spring, because I can partially reproduce it using the skeleton starter vaadin/spring#338 Bakery itself has some non serializable classes that would need to be handled. One of the issues is how to autowire service beans (which are singletons) back in the UI on desserialization. |
Steps to reproduce:
The full stacktrace:
The text was updated successfully, but these errors were encountered: