not found exception in dijkstra

33 views
Skip to first unread message

pranavk

unread,
Oct 14, 2012, 3:35:54 PM10/14/12
to ne...@googlegroups.com
I want to run dijkstra algorithm in my graph from the REST API. When sending this query to the server :

{
  "to" : "http://localhost:7474/db/data/node/1224",
  "cost_property" : "cost",
  "relationships" : {
    "type" : "to",
    "direction" : "out"
  },
  "algorithm" : "dijkstra"
}

I get a notFoundexception, how do I  cure this :
here is the response I get from the server :
{
    "exception": "NotFoundException",
    "stacktrace": [
        "org.neo4j.server.rest.web.DatabaseActions.findSinglePath(DatabaseActions.java:1332)",
        "org.neo4j.server.rest.web.RestfulGraphDatabase.singlePath(RestfulGraphDatabase.java:1339)",
        "java.lang.reflect.Method.invoke(Method.java:616)",
        "org.neo4j.server.statistic.StatisticFilter.doFilter(StatisticFilter.java:62)"
    ]
}
 

Michael Hunger

unread,
Oct 14, 2012, 10:23:56 PM10/14/12
to ne...@googlegroups.com
Do both nodes exist in the graph?

Can you check the server logs for more detail on the error? server/data/log
And server/data/graph.db/messages.log

Sent from mobile device
--
 
 
Reply all
Reply to author
Forward
0 new messages