Announcement Announcement Module
Collapse
No announcement yet.
Neo4j - Issue using Cypher query and @MapResult/@ResultColumn (NullPointerException) Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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-3.0.7.RELEASE
    spring-data-neo4j-2.0.0.RELEASE (using aspects and cross store)
    hibernate-3.6.9.GA

  • #2
    Daniel,

    could you please file an JIRA issue for this one?

    Thanks Michael

    Comment

    Working...
    X