Re: Error during serialization: Cannot get namespace of root


David Pitera <piter...@...>
 

Hey Ramesh,

I have seen this issue before but only when the query you issue is actually returning a Graph reference itself; and I've only seen it in the context of an Http query. This leads me to believe there is an issue with the way the Http serializer serializes a graph reference.

It should be a no-stopper for you, as everything else should work as expected, and if you really don't like seeing that message, you can modify your gremlin scripts from something like `graph` to `graph; 0;` or `graph.vertices().size()` (anything that doesn't actually return a graph reference).

If you feel so inspired, please open an issue in the repo. I have a feeling but not sure that the fix might be at the TinkerPop level.


On Thursday, July 6, 2017 at 11:04:08 AM UTC-4, Ramesh Nagaraju wrote:
Hi All,

 I am totally new to Graph Databases.
 I am using node js package gremlin-javascript with Janusgraph Project.
 When I execute the node pgm, I get the following error:

 I am not sure what is wrong:


Error during serialization: Cannot get namespace of root (through reference chain: java.util.ArrayList[0]->org.janusgraph.graphdb.database.StandardJanusGraph["backend"]->org.janusgraph.diskstorage.Backend["storeManager"]->org.janusgraph.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter["features"]->org.janusgraph.diskstorage.keycolumnvalue.StandardStoreFeatures["keyConsistentTxConfig"]->org.janusgraph.diskstorage.configuration.ModifiableConfiguration["rootNamespace"]->org.janusgraph.diskstorage.configuration.ConfigNamespace["namespace"]) (Error 599)

Thanks
Ramesh N

Join {janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.