Skip to content
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

Serialization Issues when running spring starter #241

Closed
manolo opened this issue Jun 26, 2019 · 1 comment · Fixed by #242
Closed

Serialization Issues when running spring starter #241

manolo opened this issue Jun 26, 2019 · 1 comment · Fixed by #242

Comments

@manolo
Copy link
Member

manolo commented Jun 26, 2019

  • Checkout the skeleton-starter-flow-spring
  • run mvn spring-boot:run
  • load the application in browser
  • Change the button label in MainView.java in your IDE
  • wait for spring devtools to restart the servlet container
  • Each time the server reloads, there is an error in console
2019-06-26 19:09:32.459  WARN 8560 --- [  restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/]       :
 Cannot deserialize session attribute [com.vaadin.flow.server.VaadinSession.springServlet]
 for session [319A4C794323F4228EBFCE5DD22E6FCC]
@denis-anisimov denis-anisimov self-assigned this Oct 12, 2019
@denis-anisimov denis-anisimov transferred this issue from vaadin/flow Oct 12, 2019
@denis-anisimov
Copy link

This is not a Flow issue.
This is a starter issue : the click listener in the button is not serializable because MessageBean is not serializable. If one changes the listener so that it doesn't use not serializable class then everything is OK.

denis-anisimov pushed a commit that referenced this issue Oct 12, 2019
OLD Vaadin Flow bugs & maintenance (Vaadin 10+) automation moved this from WIP to Closed - pending release Oct 15, 2019
denis-anisimov pushed a commit that referenced this issue Oct 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants