neo4j/community — Issue #315: Gremlin plugin failures after server restart
Author: lphuberdeau
Created: 2012-03-07 15:28:31+00:00
State: open

I am using Neo4j over REST. Everything normally works fine, but when the server has just started, I always get errors like this one when executing a Gremlin query.

An error was detected: javax.script.ScriptException: org.codehaus.groovy.runtime.metaclass.MethodSelectionException: Could not find which method count() to invoke from this list:
public java.lang.Number java.util.Collection#count(groovy.lang.Closure)
public java.lang.Number java.util.Collection#count(java.lang.Object)

It eventually goes away after some amount of time, but I could never find the cause of it.

The gremlin shell from the web admin works fine and all of my tests that do not involve queries on the REST interface work just fine.