I've recently converted a project using Spring Data Neo4j from the 2.1.0 to the 2.2.0 version and now I get an error when executing a query that was successfully executed with the previous version.
The query is like this:

Code:
start m=node:__types__(className="NodeType"),
p=node({id}) 
match (m)<-[:REL1]->(t)-[:REL2]->(s),
(m)<-[r3?:REL3]->(r),
(m)<-[?:REL4]-(pr) 
where s.field IN ["a", "b", "c"] AND 
(r=p or r is null) and 
(pr=p or pr is null) 
return distinct m,r3,pr 
order by m.field1, m.field2
and the eexception I get is:

Code:
org.springframework.dao.InvalidDataAccessResourceUsageException
Is there anyone among Spring Data Neo4j people that can help me?