Caused by: org.janusgraph.core.JanusGraphException: A JanusGraph graph with the same instance id [0a000439355-0b2b58ca5c222] is already open. Might required forced shutdown.


Real Life Adventure
 

Hi,

getting janusgraph same instance  issue even if i set graph.replace-instance-if-exists=true .please respond to below issue.any help appreciated.

graph.replace-instance-if-exists=true
jnausgraph version 0.5.2
 
 
- Version:0.5.2
- Storage Backend:cql
- Mixed Index Backend:elasticsearch
 
```
10689 [main] ERROR org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor  - Could not invoke constructor on class org.janusgraph.graphdb.management.JanusGraphManager (defined by the 'graphManager' setting) with one argument of class Settings
 
 
Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
 
 
at org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor.<init>(ServerGremlinExecutor.java:91)
 
 
at org.apache.tinkerpop.gremlin.server.GremlinServer.<init>(GremlinServer.java:122)
 
 
at org.apache.tinkerpop.gremlin.server.GremlinServer.<init>(GremlinServer.java:86)
 
 
at org.apache.tinkerpop.gremlin.server.GremlinServer.main(GremlinServer.java:345)
 
 
Caused by: java.lang.reflect.InvocationTargetException
 
 
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 
 
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
 
 
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 
 
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
 
 
at org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor.<init>(ServerGremlinExecutor.java:80)
 
 
... 3 more
 
 
Caused by: org.janusgraph.core.JanusGraphException: A JanusGraph graph with the same instance id [0a000439355-0b2b58ca5c222] is already open. Might required forced shutdown.
 
 
at org.janusgraph.graphdb.database.StandardJanusGraph.<init>(StandardJanusGraph.java:173)
 
 
at org.janusgraph.core.JanusGraphFactory.lambda$open$0(JanusGraphFactory.java:150)
 
 
at org.janusgraph.graphdb.management.JanusGraphManager.openGraph(JanusGraphManager.java:243)
 
 
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:150)
 
 
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:100)
 
 
at org.janusgraph.graphdb.management.JanusGraphManager.lambda$new$0(JanusGraphManager.java:75)
 
 
at java.util.LinkedHashMap.forEach(LinkedHashMap.java:684)
 
 
at org.janusgraph.graphdb.management.JanusGraphManager.<init>(JanusGraphManager.java:74)
 
 
... 8 more
```

Thanks,
Srinivas

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