# Error calling gds.graph.create.cypher

**URL:** <https://community.neo4j.com/t/error-calling-gds-graph-create-cypher/45419>\
**Category:** Procedures & APOC\
**Created:** [October 5, 2021, 8:48pm UTC](https://community.neo4j.com/t/error-calling-gds-graph-create-cypher/45419 "2021-10-05T20:48:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![schernichkin](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/schernichkin/32/20352_2.png) [@schernichkin](https://community.neo4j.com/u/schernichkin)\
**Post date:** [October 5, 2021, 8:48pm UTC](https://community.neo4j.com/t/error-calling-gds-graph-create-cypher/45419/1 "2021-10-05T20:48:46Z")

</div>

I'm getting error calling Version: 4.3.3 gds.graph.create.cypher procedure.

The code is:

`CALL gds.graph.create.cypher('my-cypher-graph_${ROOT_ID}', 'MATCH (n:Node)-[*..1]-(m:Node) WHERE n.id = "SomeValue" RETURN id(m) as id UNION MATCH (n:Node {id: "someValue"}) RETURN id(n) as id', 'MATCH (n:Node)-[*..1]-(m:Node) WHERE (n.id = "someValue" AND m.id <> "someValue") RETURN id(n) as source, id(m) as target')`

but actual parameters values does not matter.

The error is:  
`Unable to inject component to field `tracker`, please ensure it is public and non-final: Could not initialize class org.neo4j.graphalgo.compat.Neo4jProxy`

The debug.log does not contain any relevant information. The query.log contains query text and same error message. Does someone know how can I fix it?

Neo4j Version is 4.3.3

---

<div class="post-metadata">

**Author:** ![clair.sullivan](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/clair.sullivan/32/16017_2.png) [@clair.sullivan](https://community.neo4j.com/u/clair.sullivan)\
**Post date:** [October 6, 2021, 3:57pm UTC](https://community.neo4j.com/t/error-calling-gds-graph-create-cypher/45419/2 "2021-10-06T15:57:11Z")

</div>

Can you please tell me what version of GDS you are running? Thanks!

---

<div class="post-metadata">

**Author:** ![schernichkin](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/schernichkin/32/20352_2.png) [@schernichkin](https://community.neo4j.com/u/schernichkin)\
**Post date:** [October 6, 2021, 6:47pm UTC](https://community.neo4j.com/t/error-calling-gds-graph-create-cypher/45419/3 "2021-10-06T18:47:47Z")

</div>

The problem was indeed the incompatible version of GDS. But it was unoblivious from the error message. I solved it by replacing old GDS library with the correct version.

---

<div class="post-metadata">

**Author:** ![chasemc](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/chasemc/32/22539_2.png) [@chasemc](https://community.neo4j.com/u/chasemc)\
**Post date:** [February 18, 2022, 1:38pm UTC](https://community.neo4j.com/t/error-calling-gds-graph-create-cypher/45419/4 "2022-02-18T13:38:54Z")

</div>

Just encountered this as well. Using Docker, neo4j:4.3.7. GDS wasn't present and it downloaded an old version. Manually downloading the newest GDS fixed the issue
