Gremlin Console cannot be started ??

375 views
Skip to first unread message

Abdullah Al-qahtani

unread,
Jan 13, 2017, 5:04:32 PM1/13/17
to Gremlin-users
Dear Users,


I am having an issue of integrating gremlin 3.2.3, I have downloaded gremlin console and started gremlin for first time after attempt of installation of the following plugin:

:install org.apache.tinkerpop neo4j-gremlin 3.1.0-incubating

it says that:

groovy.lang.GroovyRuntimeException: Conflicting module versions. Module [groovy-jsr223 is loaded in version 2.4.6 and you are trying to load version 2.4.1


After this I am not able to run the console by this command:

./bin/gremlin.sh

and getting the following error:

Exception in thread "main" java.lang.BootstrapMethodError: call site initialization exception

at java.lang.invoke.CallSite.makeSite(CallSite.java:341)

at java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:307)

at java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:297)

at org.apache.tinkerpop.gremlin.console.Console.<clinit>(Console.groovy:46)

Caused by: java.lang.ExceptionInInitializerError

at org.codehaus.groovy.vmplugin.v7.IndyInterface.<clinit>(IndyInterface.java:105)



Any support or help would be appreciated very much 

Thanks in advance 

Daniel Kuppitz

unread,
Jan 13, 2017, 5:15:09 PM1/13/17
to gremli...@googlegroups.com
If you downloaded 3.2.3, then you should also install the same plugin version (as documented under Neo4j-Gremlin):

:install org.apache.tinkerpop neo4j-gremlin 3.2.3

Check ext/plugins.txt (remove the Neo4j entry) to make your console work again.

Cheers,
Daniel



--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/7b3462a2-8971-4d34-a958-f49ecf5d85bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Abdullah Al-qahtani

unread,
Jan 17, 2017, 5:17:37 AM1/17/17
to Gremlin-users
Thanks Daniel, 


I successfully integrate gremlin and neo4j now, however, I would like to connect to a pre-build neo4j graph database, version 3.1.0, but whenever I want to connect using this command :

graph2 = Neo4jGraph.open('/Users/abdullahqahtani/Documents/Neo4j/default.graphdb')


I got the following error:

Error starting org.neo4j.kernel.impl.factory.CommunityFacadeFactory, /Users/abdullahqahtani/Documents/Neo4j/default.graphdb


and when I try to use this command:

 graph2 = new Neo4jGraph('/Users/abdullahqahtani/Documents/Neo4j/default.graphdb')


I got the following error:


Could not find matching constructor for: org.apache.tinkerpop.gremlin.neo4j.structure.Neo4jGraph(java.lang.String)



Any help would be appreciated.

Thanks 

Abdullah
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.

Stephen Mallette

unread,
Jan 18, 2017, 12:18:40 PM1/18/17
to Gremlin-users
i don't think you have the path to the data right. I don't think you want to point at the *.graphdb file itself. i think it just wants the directory that contains those files.

To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/413869d6-8ce4-4299-a934-2646d3147866%40googlegroups.com.

abdullah...@gmail.com

unread,
May 18, 2017, 9:52:47 AM5/18/17
to Gremlin-users
HI Stephen,

I am actually pointing to database directory that contains all database files, however, my database is of type blueprint 2.6.0.

Thanks 

Stephen Mallette

unread,
May 18, 2017, 10:09:15 AM5/18/17
to Gremlin-users
I'm not sure what your environment is like at this point, but it sounds like you're mixing and matching versions and syntax. You can't use TinkerPop/Blueprints libraries/syntax with TinkerPop 3.x libraries syntax. 

To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/d32581de-afb7-4bb9-a1a6-bf09bd0cefee%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages