-
Notifications
You must be signed in to change notification settings - Fork 32
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
Gryo serialization stacktrace #161
Comments
Hi @remi-sap can you paste the entire stacktrace? Thanks |
Here it is: java.util.concurrent.ExecutionException: io.netty.handler.codec.DecoderException: org.apache.tinkerpop.gremlin.driver.ser.SerializationException: org.apache.tinkerpop.shaded.kryo.KryoException: Encountered unregistered class ID: 65536 |
Hi @remi-sap Are you using org.apache.tinkerpop version 3.4.0 with OrientDB tp3 in server side? Thanks |
Yes. pom.xml
And for orientdb:
|
probably that could be the problem. ODB still uses 3.3.0 of Gremlin Server |
I've reverted to 3.3.0, rebuilt the project but I still get a similar stacktrace:
|
Hi @remi-sap it could be the custom serializer for RecordID. add
Let me know if it helps |
Hi @remi-sap did you try my solution? Thanks |
Hi wolf4ood, |
Hello,
I've used a small java program to connect using org.apache.tinkerpop version 3.4.0
It works well. However, if I use a different serializer, it always fails with a big exception
org.apache.tinkerpop.gremlin.driver.ser.SerializationException: org.apache.tinkerpop.shaded.kryo.KryoException: Encountered unregistered class ID: 65536
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
How could I use a different serializer than json ?
Thanks.
The text was updated successfully, but these errors were encountered: