As far as I could track down the issue, it seems to come from an attempt of Vaadin to serialize an unserializable Spring Boot class. I suspect TargetSource to be the issue. Specifically it seems to be the TargetSource as created inside the ContextAnnotationAutowireCandidateResolver class from Spring Boot.
The error appears on every view and did not occur on older versions.
Possibly, the way NavigationListener classes are serialized may have to be adapted.
With the new versions of Vaadin and Spring Boot, we cannot serialize the session anymore.
Vaadin version: 24.3.3 Spring Boot version: 3.2.1 Kubernetes Kit version: 2.2.0
As far as I could track down the issue, it seems to come from an attempt of Vaadin to serialize an unserializable Spring Boot class. I suspect
TargetSource
to be the issue. Specifically it seems to be the TargetSource as created inside theContextAnnotationAutowireCandidateResolver
class from Spring Boot.The error appears on every view and did not occur on older versions.
Possibly, the way
NavigationListener
classes are serialized may have to be adapted.Here's the associated debug output / stacktrace: