vaadin / cdi

CDI Integration for Vaadin
Apache License 2.0
41 stars 56 forks source link

Serialization issue with UIEventListener #437

Closed mcollovati closed 1 year ago

mcollovati commented 1 year ago

CdiVaadinServletService installs an instance of UIEventListener to listen to UI events. However, the listener holds a reference to VaadinService through a CdiVaadinServiceDelegate instance.

VaadinService is not supposed to be stored in the HTTP session, and it also contains a reference to a ClassLoader instance, that is not serializable.

Either the UIEventListener should declare its CdiVaadinServiceDelegate field as transient, or the CdiVaadinServiceDelegate should mark its VaadinService reference as transient.

It should be checked if/how the VaadinService instance should be restored upon deserialization.

vaadin-bot commented 1 year ago

This ticket/PR has been released with Vaadin 14.10.3.

vaadin-bot commented 1 year ago

This ticket/PR has been released with Vaadin 22.1.1.

vaadin-bot commented 1 year ago

This ticket/PR has been released with Vaadin 23.3.16.

vaadin-bot commented 1 year ago

This ticket/PR has been released with Vaadin 24.0.9.

vaadin-bot commented 1 year ago

This ticket/PR has been released with Vaadin 24.1.2.

vaadin-bot commented 1 year ago

This ticket/PR has been released with Vaadin 24.2.0.alpha2 and is also targeting the upcoming stable 24.2.0 version.

vaadin-bot commented 1 year ago

This ticket/PR has been released with Vaadin 14.11.0.alpha1 and is also targeting the upcoming stable 14.11.0 version.

vaadin-bot commented 1 year ago

This ticket/PR has been released with Vaadin 24.3.0.alpha1 and is also targeting the upcoming stable 24.3.0 version.

vaadin-bot commented 11 months ago

This ticket/PR has been released with Vaadin 22.2.0.alpha1 and is also targeting the upcoming stable 22.2.0 version.

vaadin-bot commented 11 months ago

This ticket/PR has been released with Vaadin 23.4.0.alpha1 and is also targeting the upcoming stable 23.4.0 version.

vaadin-bot commented 10 months ago

This ticket/PR has been released with Vaadin 24.4.0.alpha1 and is also targeting the upcoming stable 24.4.0 version.

vaadin-bot commented 8 months ago

This ticket/PR has been released with Vaadin 23.5.0.alpha1 and is also targeting the upcoming stable 23.5.0 version.

vaadin-bot commented 5 months ago

This ticket/PR has been released with Vaadin 24.5.0.alpha1 and is also targeting the upcoming stable 24.5.0 version.

vaadin-bot commented 4 months ago

This ticket/PR has been released with Vaadin 14.12.0.alpha1 and is also targeting the upcoming stable 14.12.0 version.