Exception saving as Gryo

When trying to save as gryo getting the error, Unable to create serializer "org.apache.tinkerpop.shaded.kryo.serializers.FieldSerializers" for class java.util.concurrent.atomic.AtomicLong. What could be the possible reason.
Solution:
With some trail and error found the solution - openjdk is possibly the reason. I traied with standard jdk/jre, now it works.
Jump to solution
4 Replies
Arthur from gdotv
Which java version are you using? I believe gryo serialization will only work on java 8/11. If using java 17 or 21 you may want to switch to graphson or graphml
Tanvir
TanvirOP17mo ago
I am using Java 8, just wondering if I need to add any dependency additionally for gyro serialization?
Arthur from gdotv
When I ran into this issue on my end it was due to the use of java 17, im not too sure unfortunately in what context this would happen for java 8, perhaps someone on the Apache Tinkerpop team can chime in
Solution
Tanvir
Tanvir17mo ago
With some trail and error found the solution - openjdk is possibly the reason. I traied with standard jdk/jre, now it works.

Did you find this page helpful?