Hello Team,
We are getting an issue when creating a new vertex and then creating a new Edge through gremlin.
Please find the code here:
g.addVertex(null,[namespaceType:4, accountNamespace:"AAAA", accountId:"BBBB", accountKey:2906705, accountType:-999999999, discoveryDate:1396512489000d, nodeType:1, accountScope:-999999999]
gremlin>g.v(5776386)
==>v[5776386]
gremlin>g.addEdge(null,g.v(3472800),g.v(5776386),'ISACCOUNTOWNEROF')
==>javax.script.ScriptException: java.lang.RuntimeException: [DEX: 10] Invalid destination.
This doesnot happen when we create a new Edge between already existing vertices (these are created through schema based ScriptParser).
The same thing happens with Tinkerpop Frames. Can you please clarify , are we missing fundamentally something where a dexgraph needs to be closed or committed each and everytime we create a vertex and subsequently an edge.
Regards,
Chandra.