Oops incomplete question. It throws below exception:

Exception in thread "main" org.neo4j.graphdb.NotFoundException: 
Relationship -1 not found
79
at 
org.neo4j.kernel.InternalAbstractGraphDatabase.getRelationshipById(InternalAbstractGraphDatabase.java:1175)
at org.neo4j.graphalgo.impl.path.AStar.findSinglePath(AStar.java:85)
at org.neo4j.graphalgo.impl.path.AStar.findSinglePath(AStar.java:50)
at neo4jPrac.Main.createDb(Main.java:72)
at neo4jPrac.Main.main(Main.java:40)
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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)

where as it should be returning null. This behavior can be found since 
neo4j 1.9.8

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to