Skip to content

Instantly share code, notes, and snippets.

@nightfly19
Created September 5, 2012 21:51
Show Gist options
  • Save nightfly19/3645586 to your computer and use it in GitHub Desktop.
Save nightfly19/3645586 to your computer and use it in GitHub Desktop.
Exception on query
--Request--
POST http://localhost:7474/db/data/cypher HTTP/1.1
Content-Type: application/json
Accept: application/json
HOST: localhost
Content-Length: 80
{"query":"start x = node(85324) match x -[r]-> n return type(r)","params":null}
--Response--
((:EXCEPTION . "java.lang.NullPointerException")
(:STACKTRACE
"scala.collection.JavaConversions$JMapWrapperLike$$anon$2.<init>(JavaConversions.scala:782)"
"scala.collection.JavaConversions$JMapWrapperLike$class.iterator(JavaConversions.scala:781)"
"scala.collection.JavaConversions$JMapWrapper.iterator(JavaConversions.scala:792)"
"scala.collection.IterableLike$class.foreach(IterableLike.scala:73)"
"scala.collection.JavaConversions$JMapWrapper.foreach(JavaConversions.scala:792)"
"scala.collection.TraversableOnce$class.toMap(TraversableOnce.scala:256)"
"scala.collection.JavaConversions$JMapWrapper.toMap(JavaConversions.scala:792)"
"org.neo4j.cypher.ExecutionEngine.execute(ExecutionEngine.scala:58)"
"org.neo4j.cypher.javacompat.ExecutionEngine.execute(ExecutionEngine.java:86)"
"org.neo4j.server.rest.web.CypherService.cypher(CypherService.java:67)"
"sun.reflect.GeneratedMethodAccessor188.invoke(Unknown Source)"
"sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)"
"java.lang.reflect.Method.invoke(Method.java:616)"
"com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)"
"com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._d\
ispatch(AbstractResourceMethodDispatchProvider.java:205)"
"com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDisp\
atcher.java:75)"
--Snip--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment