-
Notifications
You must be signed in to change notification settings - Fork 56
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 issue with UIEventListener #437
Comments
This ticket/PR has been released with Vaadin 14.10.3. |
This ticket/PR has been released with Vaadin 22.1.1. |
This ticket/PR has been released with Vaadin 23.3.16. |
This ticket/PR has been released with Vaadin 24.0.9. |
This ticket/PR has been released with Vaadin 24.1.2. |
This ticket/PR has been released with Vaadin 24.2.0.alpha2 and is also targeting the upcoming stable 24.2.0 version. |
This ticket/PR has been released with Vaadin 14.11.0.alpha1 and is also targeting the upcoming stable 14.11.0 version. |
This ticket/PR has been released with Vaadin 24.3.0.alpha1 and is also targeting the upcoming stable 24.3.0 version. |
This ticket/PR has been released with Vaadin 22.2.0.alpha1 and is also targeting the upcoming stable 22.2.0 version. |
This ticket/PR has been released with Vaadin 23.4.0.alpha1 and is also targeting the upcoming stable 23.4.0 version. |
This ticket/PR has been released with Vaadin 24.4.0.alpha1 and is also targeting the upcoming stable 24.4.0 version. |
This ticket/PR has been released with Vaadin 23.5.0.alpha1 and is also targeting the upcoming stable 23.5.0 version. |
This ticket/PR has been released with Vaadin 24.5.0.alpha1 and is also targeting the upcoming stable 24.5.0 version. |
This ticket/PR has been released with Vaadin 14.12.0.alpha1 and is also targeting the upcoming stable 14.12.0 version. |
CdiVaadinServletService
installs an instance ofUIEventListener
to listen to UI events.However, the listener holds a reference to
VaadinService
through aCdiVaadinServiceDelegate
instance.VaadinService
is not supposed to be stored in the HTTP session, and it also contains a reference to aClassLoader
instance, that is not serializable.Either the
UIEventListener
should declare itsCdiVaadinServiceDelegate
field as transient, or theCdiVaadinServiceDelegate
should mark itsVaadinService
reference as transient.It should be checked if/how the
VaadinService
instance should be restored upon deserialization.The text was updated successfully, but these errors were encountered: