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

fix: Unable to release Session : Caused by: java.io.NotSerializableEx… #647

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hansbak
Copy link

@hansbak hansbak commented Oct 26, 2024

When using the RestClient with Quarkus i get the following error:

Unable to release Session Session@31de25{id=node019rmfggeeuvve15gdkfqxto4bg5,x=node019rmfggeeuvve15gdkfqxto4bg5.node0,req=0,res=true}
org.eclipse.jetty.server.session.UnwriteableSessionDataException: Unwriteable session node019rmfggeeuvve15gdkfqxto4bg5 for node0__0.0.0.0
.....
Caused by: java.io.NotSerializableException: org.apache.groovy.json.internal.LazyMap
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175) ~[?:?]
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:345) ~[?:?]
at java.util.HashMap.internalWriteEntries(HashMap.java:1858) ~[?:?]

the Lazy Map from jsonSlurper is not serializable

when replaced with the classic version solves the problem.

…ception: org.apache.groovy.json.internal.LazyMap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant