ianmack
(Ianmack)
January 23, 2021, 8:35am
1
Hi Everyone,
I'm a newbie to the Neo4j community and really enjoy it. So, thanks for being so supportive.
Quick question - I'm trying to use the Versioner-Core Plugin. But, when I CALL graph.versioner.init procedure, using the demo code on the version-core website, it returns an error. Here is the CALL line and returned error:
CALL graph.versioner.init('Person', {ssn: localdatetime('1988-10-27T02:46:40'), name: 'Marco'}, {address: 'Via Roma 11'}) YIELD node RETURN node
it returns this error:
Neo.ClientError.Procedure.ProcedureCallFailed
Failed to invoke procedure graph.versioner.init
: Caused by: java.lang.NoSuchMethodError: 'org.neo4j.graphdb.Node org.neo4j.graphdb.GraphDatabaseService.createNode(org.neo4j.graphdb.Label )'
Does anyone know why?
Thx for any help.
Ian
Looks like a version issue, what version of neo4j and which version of versioner are you using?
Seems they are working on 4.x support here, so perhaps chime in on this issue
opened 05:08PM - 02 Apr 20 UTC
closed 11:34AM - 24 Mar 21 UTC
**Describe the bug**
We keep getting at `ProcedureCallFailed` error when trying… to run the `graph.versioner.init` call provided in the documentation for `neo4j-versioner-core`. (see screenshot)
Running `dbms,procedures()` lists everything from `graph.versioner.*` but on the rightmost column under `worksOnSystem`, the value is `false` for each one.
After researching though your and Neo4j documentation with no luck, I decided to come back to your issues and found a similar one in #6 which seems to address prior version upgrade breaking changes.
I believe this has happened once again in the 4.0+ upgrade based on what I'm seeing but I'll add the caveat that I'm relatively new to Neo4j.
We'll need to know that any solution we implement on this client project will be future-safe so I'll add a question to this issue: Should be able to expect that kind of support or if you happen to know of something that would provide that that may not be as optimal of a solution otherwise?
**To Reproduce**
Steps to reproduce the behavior:
1. Install neo4j v4.0.2 (community)
2. Run neo4j and open the browser console
3. Run the `CALL graph.versioner.init...` command provided in your documentation.
4. You should see the error described and in the screenshot.
**Expected behavior**
Call to work as described and expected with latest version of Neo4j.
**Screenshots**
![versioner-procedureCallFailed](https://user-images.githubusercontent.com/23201149/78277537-51114400-74da-11ea-84e2-3b8464118c65.png)
**Desktop (please complete the following information):**
- OS: Ubuntu 18.0.4 running in WSL
- Browser: Opera (for running neo4j browser console
- Version: `neo4j-versioner-core 2.0.0` & Neo4j 4.0.2 (community)