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:Jump to solution
With some trail and error found the solution - openjdk is possibly the reason. I traied with standard jdk/jre, now it works.
4 Replies
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
I am using Java 8, just wondering if I need to add any dependency additionally for gyro serialization?
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
With some trail and error found the solution - openjdk is possibly the reason. I traied with standard jdk/jre, now it works.