Jan 30th, 2012, 09:51 AM
Neo4j - Issue using Cypher query and @MapResult/@ResultColumn (NullPointerException)
Hey Spring Data community!
I'm facing a problem using a very simples Cypher query and a model interface as the result (@MapResult).
My query is very simple, I just return one value (I've tried more complex queries also) but during the result conversion the spring-data-neo4j tries to handle the hashCode method of the @MapResult interface proxy instance resulting in a NullPointerException (since hashCode has no @ResultColumn annotation).
Judging by the cause, it makes me think that something is wrong with my application setup, but I've read the docs again and again and couldn't find any explicit mistake. Does anyone has any clue on this error? You'll find attached a screenshot of the debugger showing the hashCode method it tries to convert.
My basic setup is:
spring-data-neo4j-2.0.0.RELEASE (using aspects and cross store)
Feb 3rd, 2012, 05:16 PM
could you please file an JIRA issue for this one?
Tags for this Thread