Results 1 to 2 of 2

Thread: Neo4j - Issue using Cypher query and @MapResult/@ResultColumn (NullPointerException)

Hybrid View

  1. #1
    Join Date
    Jan 2011
    Location
    Brasília, DF, Brazil
    Posts
    9

    Default 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. #2
    Join Date
    Jan 2011
    Location
    Dresden, Germany
    Posts
    525

    Default

    Daniel,

    could you please file an JIRA issue for this one?

    Thanks Michael

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •