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 issue with UIEventListener #437

Closed
mcollovati opened this issue Jun 15, 2023 · 14 comments · Fixed by #438
Closed

Serialization issue with UIEventListener #437

mcollovati opened this issue Jun 15, 2023 · 14 comments · Fixed by #438

Comments

@mcollovati
Copy link
Contributor

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.

@mcollovati mcollovati self-assigned this Jun 21, 2023
mcollovati added a commit that referenced this issue Jun 21, 2023
caalador pushed a commit that referenced this issue Jun 26, 2023
mcollovati added a commit that referenced this issue Jun 28, 2023
mcollovati added a commit that referenced this issue Jun 28, 2023
mcollovati added a commit that referenced this issue Jun 28, 2023
mcollovati added a commit that referenced this issue Jun 28, 2023
mcollovati added a commit that referenced this issue Jun 29, 2023
mshabarov pushed a commit that referenced this issue Jun 29, 2023
@vaadin-bot
Copy link

This ticket/PR has been released with Vaadin 14.10.3.

@vaadin-bot
Copy link

This ticket/PR has been released with Vaadin 22.1.1.

@vaadin-bot
Copy link

This ticket/PR has been released with Vaadin 23.3.16.

@vaadin-bot
Copy link

This ticket/PR has been released with Vaadin 24.0.9.

@vaadin-bot
Copy link

This ticket/PR has been released with Vaadin 24.1.2.

@vaadin-bot
Copy link

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
Copy link

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
Copy link

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
Copy link

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
Copy link

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
Copy link

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
Copy link

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
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment