I want to get all the nodes having the same property value. I am trying to 
work with this 
findNodesByLabelAndProperty(label, key, value)
the nodes in my database has not any labels. I put null in the label field 
and i get this exception
Exception in thread "main" java.lang.NullPointerException
at 
org.neo4j.kernel.InternalAbstractGraphDatabase.nodesByLabelAndProperty(InternalAbstractGraphDatabase.java:1488)
at 
org.neo4j.kernel.InternalAbstractGraphDatabase.access$200(InternalAbstractGraphDatabase.java:184)
at 
org.neo4j.kernel.InternalAbstractGraphDatabase$8.iterator(InternalAbstractGraphDatabase.java:1477)
at 
org.neo4j.kernel.InternalAbstractGraphDatabase$8.iterator(InternalAbstractGraphDatabase.java:1473)
at 
eu.socialsensor.graphdatabases.Neo4jGraphDatabase.test(Neo4jGraphDatabase.java:68)
at 
eu.socialsensor.graphdatabases.Neo4jGraphDatabase.main(Neo4jGraphDatabase.java:61)

Is there another way or i should re create my database with node labels?

(I use neo4j-2.1.0)

Thanks,
Sotiris

-- 
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