I am having some problems getting started with neoclipse and a basic graph. I am running neo4j community server 1.9.1 and when connecting or attempting to expand any nodes, I see the following exception in the console:
java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException
...
Caused by: java.lang.UnsupportedOperationException
at org.neo4j.rest.graphdb.entity.RestNode.traverse(RestNode.java:109)
at org.neo4j.neoclipse.graphdb.DefaultTraverser.getNodes(DefaultTraverser.java:77)
at org.neo4j.neoclipse.view.NeoGraphContentProvider.getTheElements(NeoGraphContentProvider.java:173)
at org.neo4j.neoclipse.view.NeoGraphContentProvider.access$1(NeoGraphContentProvider.java:146)
at org.neo4j.neoclipse.view.NeoGraphContentProvider$2.call(NeoGraphContentProvider.java:131)
at org.neo4j.neoclipse.view.NeoGraphContentProvider$2.call(NeoGraphContentProvider.java:1)
at org.neo4j.neoclipse.graphdb.GraphDbServiceManager$TaskWrapper.call(GraphDbServiceManager.java:257)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:680)
My graph is fairly simple, here is the creation Cypher:
CREATE (ben {name:'Ben'}), (arnold {name:'Arnold'}), (charlie {name:'Charlie'}), (gordon {name:'Gordon'}), (lucy {name:'Lucy'}), (emily {name:'Emily'}), (sarah {name:'Sarah'}), (kate {name:'Kate'}), (mike {name:'Mike'}), (paula {name:'Paula'}), ben-[:FRIEND]->charlie, charlie-[:FRIEND]->lucy, lucy-[:FRIEND]->sarah, sarah-[:FRIEND]->mike, arnold-[:FRIEND]->gordon, gordon-[:FRIEND]->emily, emily-[:FRIEND]->kate, kate-[:FRIEND]->paula
And then I indexed the name property of all the nodes such this worked:
start a = node:user(name="Arnold") return a;
Hello, thank you for such a useful tool!
I am having some problems getting started with neoclipse and a basic graph. I am running neo4j community server 1.9.1 and when connecting or attempting to expand any nodes, I see the following exception in the console: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException ... Caused by: java.lang.UnsupportedOperationException at org.neo4j.rest.graphdb.entity.RestNode.traverse(RestNode.java:109) at org.neo4j.neoclipse.graphdb.DefaultTraverser.getNodes(DefaultTraverser.java:77) at org.neo4j.neoclipse.view.NeoGraphContentProvider.getTheElements(NeoGraphContentProvider.java:173) at org.neo4j.neoclipse.view.NeoGraphContentProvider.access$1(NeoGraphContentProvider.java:146) at org.neo4j.neoclipse.view.NeoGraphContentProvider$2.call(NeoGraphContentProvider.java:131) at org.neo4j.neoclipse.view.NeoGraphContentProvider$2.call(NeoGraphContentProvider.java:1) at org.neo4j.neoclipse.graphdb.GraphDbServiceManager$TaskWrapper.call(GraphDbServiceManager.java:257) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:680)
My graph is fairly simple, here is the creation Cypher: CREATE (ben {name:'Ben'}), (arnold {name:'Arnold'}), (charlie {name:'Charlie'}), (gordon {name:'Gordon'}), (lucy {name:'Lucy'}), (emily {name:'Emily'}), (sarah {name:'Sarah'}), (kate {name:'Kate'}), (mike {name:'Mike'}), (paula {name:'Paula'}), ben-[:FRIEND]->charlie, charlie-[:FRIEND]->lucy, lucy-[:FRIEND]->sarah, sarah-[:FRIEND]->mike, arnold-[:FRIEND]->gordon, gordon-[:FRIEND]->emily, emily-[:FRIEND]->kate, kate-[:FRIEND]->paula
And then I indexed the name property of all the nodes such this worked: start a = node:user(name="Arnold") return a;
Any assistance would be appreciated.
Thanks!