Ok, great, I am just now looking at it and noticed a NPE in Node topicNodes = referenceNode.getSingleRelationship(RelationshipTypes.TOPICS, Direction.OUTGOING).getEndNode();
The referenceNode.getSingleRelationship(RelationshipTypes.TOPICS, Direction.OUTGOING) is returning NULL ... Cheers, /peter neubauer COO and Sales, Neo Technology GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://www.tinkerpop.com - Processing for Internet-scale graphs. http://www.thoughtmade.com - Scandinavias coolest Bring-a-Thing party. On Wed, Mar 3, 2010 at 6:55 PM, Todd Stavish <toddstav...@gmail.com> wrote: > Hi Peter, > > I have the centrality stuff working now, no further help required. :) > My nodeset had to be larger. > > -Todd > > On Mar 1, 2010, at 10:02 PM, Todd Stavish <t...@stavi.sh> wrote: > >> Hi Everyone, >> >> I am running into some null pointer exceptions when I try to feed >> things into some of the graph algos. The test cases can be found in >> the link below. It is all maven based and the pre-built graph is >> included. Queries19 (Floyd-Warshall), 20 (Eigenvector Centrality with >> the "Arnoldi iteration"), and 21 (Eigenvector Centrality with the >> "Power method") are the problematic ones. >> >> To run each query, change the query number in the >> configuration.properties in the resources directory. Then, mvn >> compile, mvn exec:exec. >> >> http://www.stavi.sh/backend.zip >> >> I constrained the sub-graph to be the smallest possible one. I also >> tried setting the max iterations and calling calculate before the >> getCentrality call. I followed the same pattern I used for the >> BFS-Centrality and Dijikstra for shortest path (which seem to be >> working). Not sure what I am doing wrong here. >> >> Any help would be appreciated. >> >> Thanks, >> Todd > _______________________________________________ > Neo mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > > _______________________________________________ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user