J
JanusGraph•16mo ago
joybytes

io.netty.handler.codec.DecoderException While adding an Edge

Getting io.netty.handler.codec.DecoderException while adding an edge between two vertices. Vertex vx1 = g.V().has("name","Vertex1").next(); Vertex vx2 = g.V().has("name","Vertext2").next(); Edge newEdge = g.V(vx1).addE("connected").to(vx2).next() Below is the detailed error message io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(162) + length(615279) exceeds writerIndex(210): CompositeByteBuf(ridx: 162, widx: 210, cap: 210, components=1)
8 Replies
Florian Hockmann
Florian Hockmann•16mo ago
Can you please share more information about this? For example: How are you executing this code? Gremlin Console or from your application? Which serializer is used? Also please share the stack trace
joybytes
joybytes•16mo ago
joybytes
joybytes•16mo ago
I am using GraphBinaryMessageSerializerV1 in my java application
Florian Hockmann
Florian Hockmann•16mo ago
What are the versions of JanusGraph Server and janusgraph-driver?
joybytes
joybytes•16mo ago
Using server version --> janusgraph-0.6.3 , pom.xml --> <janusgraph.version>1.0.0-20230428-082704.5159135</janusgraph.version> , gremline -- > 3.6.2
Florian Hockmann
Florian Hockmann•16mo ago
Not sure if this leads to your problem, but could you please try with JanusGraph Server also on a pre-release version of 1.0.0, or also use 0.6.3 in your application?
joybytes
joybytes•16mo ago
Florian Hockmann
Florian Hockmann•16mo ago
Glad that it helped 🙂
Want results from more Discord servers?
Add your server