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
gdotv
gdotv6mo ago
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
Tanvir6mo ago
I am using Java 8, just wondering if I need to add any dependency additionally for gyro serialization?
gdotv
gdotv6mo ago
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
Tanvir6mo ago
With some trail and error found the solution - openjdk is possibly the reason. I traied with standard jdk/jre, now it works.
Want results from more Discord servers?
Add your server
More Posts
AWS Neptune: Pong fails and close event not emittedHey guys, long time no see. We have an issue which occurred a few times in the last couple weeks aGremlin upsert on a vertex but preventing updates on a particular property on a vertex during upsertHi, Following is an upsert query on a vertex with label 'stvertex' and I am required to initialize aDoes graph notebook still work after changes to serializers?I am trying to use the graph-notebook project, my project previously worked. I updated Aerospike graImplementing Graph Filter for Sub-Graph Loading in Spark Cluster with JanusGraphHello, I'm currently utilizing JanusGraph 0.6.4 with Bigtable as the storage backend and encounteriTesting against AWS NeptuneHi, the app that I'm maintaining has a Neptune integration for which I've written some integration tJanusgraph vertex property with cardinality as SET typeHi, need a working example of how a property can be added to a vertex with cardinality as SET type aError: `Failed to authenticate`, when connection pool size is >1 for GremlinServer with ArcadeDBHi Friends, I am exploring and evaluating ArcadeDB. The DB is setup with GremlinServerPlugin to expoHow can I use the .io("filename.json").write() pattern to append to an existing graphson file?I have read about defining a custom GraphWriter using the builder, but wanted to ask first before spusing tinkerpop 3.6.x on a jdk 21 projectI'm using tinkerpop 3.6.5 to read/write over an AWS neptune graph database. Is there any issues usinIs the following use of next() allowed?The update does not seem to work in this case, even when `changes` is a non-empty object. No error i