Details
-
Bug
-
Status: Closed
-
Resolution: Done
-
None
-
None
Description
See my console session attached. In short, I was able to install and use the neo4j-gremlin plugin for exactly 1 time. Any further attempts lead to exceptions.
ubuntu@ip-10-146-237-140:~/gremlin-console-3.0.0.M3$ bin/gremlin.sh \,,,/ (o o) -----oOOo-(3)-oOOo----- plugin activated: server plugin activated: utilities plugin activated: tinkergraph gremlin> g = Neo4jGraph.open('/tmp/neo4j') No such property: Neo4jGraph for class: groovysh_evaluate Display stack trace? [yN] N gremlin> :install com.tinkerpop neo4j-gremlin 3.0.0.M3 ==>loaded: [com.tinkerpop, neo4j-gremlin, 3.0.0.M3] gremlin> :plugin use neo4j ==>neo4j activated gremlin> g = Neo4jGraph.open('/tmp/neo4j') ==>neo4jgraph[EmbeddedGraphDatabase [/tmp/neo4j]] gremlin> g.V().count() ==>0 gremlin> g.loadGraphML('data/grateful-dead.xml') ==>null gremlin> g.V().count() ==>808 gremlin> g.shutdown() No signature of method: com.tinkerpop.gremlin.neo4j.structure.Neo4jGraph.shutdown() is applicable for argument types: () values: [] Display stack trace? [yN] N gremlin> :q ubuntu@ip-10-146-237-140:~/gremlin-console-3.0.0.M3$ bin/gremlin.sh \,,,/ (o o) -----oOOo-(3)-oOOo----- plugin activated: server plugin activated: utilities plugin activated: tinkergraph plugin activated: neo4j gremlin> g = Neo4jGraph.open('/tmp/neo4j') Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /tmp/neo4j Display stack trace? [yN] N gremlin> :q ubuntu@ip-10-146-237-140:~/gremlin-console-3.0.0.M3$ rm -rf /tmp/neo4j/ ubuntu@ip-10-146-237-140:~/gremlin-console-3.0.0.M3$ bin/gremlin.sh \,,,/ (o o) -----oOOo-(3)-oOOo----- plugin activated: server plugin activated: utilities plugin activated: tinkergraph plugin activated: neo4j gremlin> g = Neo4jGraph.open('/tmp/neo4j') Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /tmp/neo4j Display stack trace? [yN] y java.lang.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /tmp/neo4j at com.tinkerpop.gremlin.neo4j.structure.Neo4jGraph.<init>(Neo4jGraph.java:123) at com.tinkerpop.gremlin.neo4j.structure.Neo4jGraph.open(Neo4jGraph.java:139) at com.tinkerpop.gremlin.neo4j.structure.Neo4jGraph.open(Neo4jGraph.java:148) at com.tinkerpop.gremlin.neo4j.structure.Neo4jGraph$open.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at groovysh_evaluate.run(groovysh_evaluate:3) at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:215) at org.codehaus.groovy.tools.shell.Interpreter.evaluate(Interpreter.groovy:68) at org.codehaus.groovy.tools.shell.Groovysh.execute(Groovysh.groovy:159) at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:215) at org.codehaus.groovy.tools.shell.Shell.leftShift(Shell.groovy:121) at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:215) at org.codehaus.groovy.tools.shell.ShellRunner.work(ShellRunner.groovy:93) at org.codehaus.groovy.tools.shell.InteractiveShellRunner.super$2$work(InteractiveShellRunner.groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:130) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:150) at org.codehaus.groovy.tools.shell.InteractiveShellRunner.work(InteractiveShellRunner.groovy:123) at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:215) at org.codehaus.groovy.tools.shell.ShellRunner.run(ShellRunner.groovy:57) at org.codehaus.groovy.tools.shell.InteractiveShellRunner.super$2$run(InteractiveShellRunner.groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:130) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:150) at org.codehaus.groovy.tools.shell.InteractiveShellRunner.run(InteractiveShellRunner.groovy:83) at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:215) at com.tinkerpop.gremlin.console.Console.<init>(Console.groovy:99) at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636) at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:215) at com.tinkerpop.gremlin.console.Console.main(Console.groovy:230) Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /tmp/neo4j at org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:366) at org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:59) at org.neo4j.graphdb.factory.GraphDatabaseFactory$1.newDatabase(GraphDatabaseFactory.java:91) at org.neo4j.graphdb.factory.GraphDatabaseBuilder.newGraphDatabase(GraphDatabaseBuilder.java:181) at com.tinkerpop.gremlin.neo4j.structure.Neo4jGraph.<init>(Neo4jGraph.java:101) ... 43 more Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.impl.transaction.XaDataSourceManager@67d86804' was successfully initialized, but failed to start. Please see attached cause exception. at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:513) at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:115) at org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:343) ... 47 more Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource@31edeac' was successfully initialized, but failed to start. Please see attached cause exception. at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:513) at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:115) at org.neo4j.kernel.impl.transaction.XaDataSourceManager.start(XaDataSourceManager.java:164) at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:507) ... 49 more Caused by: java.lang.IllegalArgumentException: No schema index provider org.neo4j.kernel.api.index.SchemaIndexProvider found. Kernel extensions available on classpath: Class path entries: bin/../config bin/../lib/commons-beanutils-1.8.0.jar bin/../lib/commons-codec-1.6.jar bin/../lib/commons-collections-3.2.1.jar bin/../lib/commons-configuration-1.10.jar bin/../lib/commons-lang-2.6.jar bin/../lib/commons-lang3-3.3.1.jar bin/../lib/commons-logging-1.1.1.jar bin/../lib/ezmorph-1.0.6.jar bin/../lib/gbench-0.4.2-groovy-2.1.jar bin/../lib/gprof-0.3.0-groovy-2.3.jar bin/../lib/gremlin-algorithm-3.0.0.M3.jar bin/../lib/gremlin-console-3.0.0.M3.jar bin/../lib/gremlin-core-3.0.0.M3.jar bin/../lib/gremlin-driver-3.0.0.M3.jar bin/../lib/gremlin-groovy-3.0.0.M3.jar bin/../lib/groovy-all-2.3.7-indy.jar bin/../lib/groovy-sandbox-1.6.jar bin/../lib/hppc-0.6.0.jar bin/../lib/http-builder-0.7.jar bin/../lib/httpclient-4.2.1.jar bin/../lib/httpcore-4.2.1.jar bin/../lib/ivy-2.3.0.jar bin/../lib/jackson-annotations-2.3.0.jar bin/../lib/jackson-core-2.3.0.jar bin/../lib/jackson-databind-2.3.0.jar bin/../lib/javatuples-1.2.jar bin/../lib/jcabi-log-0.14.jar bin/../lib/jcabi-manifests-1.0.jar bin/../lib/jcl-over-slf4j-1.7.7.jar bin/../lib/jline-2.11.jar bin/../lib/json-lib-2.3-jdk15.jar bin/../lib/kryo-2.23.0.jar bin/../lib/log4j-1.2.17.jar bin/../lib/minlog-1.2.jar bin/../lib/nekohtml-1.9.16.jar bin/../lib/netty-all-4.0.23.Final.jar bin/../lib/objenesis-2.1.jar bin/../lib/slf4j-api-1.7.7.jar bin/../lib/slf4j-log4j12-1.7.7.jar bin/../lib/snakeyaml-1.13.jar bin/../lib/tinkergraph-gremlin-3.0.0.M3.jar bin/../lib/xercesImpl-2.9.1.jar bin/../lib/xml-apis-1.3.04.jar bin/../lib/xml-resolver-1.2.jar . /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/scala-library-2.10.4.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/gremlin-algorithm-3.0.0.M3.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/snakeyaml-1.13.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/neo4j-primitive-collections-2.1.4.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/neo4j-2.1.4.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/neo4j-backup-2.1.4.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/jackson-databind-2.3.0.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/commons-lang-2.6.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/opencsv-2.3.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/neo4j-gremlin-3.0.0.M3.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/neo4j-cluster-2.1.4.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/jline-2.11.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/neo4j-management-2.1.4.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/hppc-0.6.0.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/neo4j-kernel-2.1.4.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/commons-lang3-3.3.1.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/geronimo-jta_1.1_spec-1.1.1.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/javatuples-1.2.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/groovy-all-2.3.7-indy.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/neo4j-com-2.1.4.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/jcabi-log-0.14.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/neo4j-cypher-2.1.4.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/ivy-2.3.0.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/lucene-core-3.6.2.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/groovy-sandbox-1.6.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/jcabi-manifests-1.0.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/neo4j-cypher-compiler-1.9-2.0.3.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/jackson-annotations-2.3.0.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/gremlin-core-3.0.0.M3.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/logback-core-1.1.2.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/commons-configuration-1.10.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/neo4j-ha-2.1.4.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/neo4j-graph-algo-2.1.4.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/parboiled-scala_2.10-1.1.6.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/parboiled-core-1.1.6.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/neo4j-cypher-compiler-2.0-2.0.3.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/jcl-over-slf4j-1.7.7.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/neo4j-consistency-check-2.1.4.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/objenesis-2.1.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/neo4j-udc-2.1.4.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/neo4j-cypher-compiler-2.1-2.1.4.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/jackson-core-2.3.0.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/gremlin-groovy-3.0.0.M3.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/neo4j-lucene-index-2.1.4.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/netty-3.6.3.Final.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/neo4j-jmx-2.1.4.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/concurrentlinkedhashmap-lru-1.3.1.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/neo4j-cypher-commons-2.1.4.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/neo4j-graph-matching-2.1.4.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/minlog-1.2.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/kryo-2.23.0.jar /home/ubuntu/gremlin-console-3.0.0.M3/bin/../ext/neo4j-gremlin/log4j-1.2.17.jar at org.neo4j.kernel.api.index.SchemaIndexProvider$2.select(SchemaIndexProvider.java:140) at org.neo4j.kernel.extension.KernelExtensions.resolveDependency(KernelExtensions.java:206) at org.neo4j.kernel.InternalAbstractGraphDatabase$DependencyResolverImpl.resolveDependency(InternalAbstractGraphDatabase.java:1524) at org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource.start(NeoStoreXaDataSource.java:338) at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:507) ... 52 more gremlin> :plugin use neo4j ==>neo4j activated gremlin> g = Neo4jGraph.open('/tmp/neo4j') Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /tmp/neo4j Display stack trace? [yN] N gremlin> :install com.tinkerpop neo4j-gremlin 3.0.0.M3 ==>a module with the name neo4j-gremlin is already installed gremlin> :plugin use neo4j ==>neo4j activated gremlin> g = Neo4jGraph.open('/tmp/neo4j') Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /tmp/neo4j Display stack trace? [yN] NN gremlin> :q