Deserializer for "orient:ORecordId" not found


#1

Hi All,

When I tried to query orientDB graph instance using Gremlin . Net, the query is executed correctly but always give me this “Deserializer for “orient:ORecordId” not found” exception when trying to parse server response.

at Gremlin.Net.Structure.IO.GraphSON.GraphSONReader.ReadTypedValue(JToken typedValue)
at Gremlin.Net.Structure.IO.GraphSON.VertexDeserializer.Objectify(JToken graphsonObject, GraphSONReader reader)
at Gremlin.Net.Structure.IO.GraphSON.GraphSONReader.ReadTypedValue(JToken typedValue)
at Gremlin.Net.Structure.IO.GraphSON.ListSerializer.Objectify(JToken graphsonObject, GraphSONReader reader)
at Gremlin.Net.Structure.IO.GraphSON.GraphSONReader.ReadTypedValue(JToken typedValue)
at Gremlin.Net.Driver.Connection.d__141.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Gremlin.Net.Driver.Connection.<SubmitAsync>d__81.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Gremlin.Net.Driver.ProxyConnection.d__31.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Gremlin.Net.Driver.GremlinClient.<SubmitAsync>d__61.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Gremlin.Net.Driver.GremlinClientExtensions.d__4`1.MoveNext()

Any suggestions?

Thanks!


#2

Are you able to find a solution for this. I am having the same problem.

My code looks like this:
var server = new GremlinServer(“localhost”, port: 8182, enableSsl: false, username: “root”, password: “rootpwd”);

        using (var client = new GremlinClient(server, new GraphSON3Reader(),  new GraphSON3Writer()))
        {
            await client.SubmitAsync<dynamic>("g.addV('person').property('name', 'bob')");
        }