-
Notifications
You must be signed in to change notification settings - Fork 38.4k
SerializableTypeProxy cannot be deserialized #30165
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
Comments
Seems similar to this issue |
What's the actual ClassLoader this is getting deserialized into? In that target ClassLoader arrangement, where are the Spring classes defined - in a parent ClassLoader, I assume? Declaring |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue. |
Hi,
we're trying to use Tomcat Session serialization into Redis. The de/serialization process is failing because we save into Session some of our config classes that are part of our Wicket web module.
The problem is that part of the data is
SpringBean
annotated field in one of the classes. Wicket uses it's own component injector that handles de/serialization process for those beans bean into proxy by calling the Spring code inorg/springframework/core/SerializableTypeWrapper.java:126
. Wicket@SpringBean
annotation allows de/serialization of the fields by using the mentioned code.I can see that it creates a proxy that implements following classes
But when the session is deserialized we get following exception. We debugged the code and found the problematic non-public interface is
SerializableTypeProxy
. I'd like ask if the class could be made public to fix the issues we have?The text was updated successfully, but these errors were encountered: