Code Monkey home page Code Monkey logo

Comments (3)

spkenn5 avatar spkenn5 commented on July 22, 2024

hey @freeeve what was the solution for this issue? I am currently having the same one..

from anormcypher.

Kai-Chen avatar Kai-Chen commented on July 22, 2024

The node and relationship mapping was working up to 0.8.1. The 0.9 release switched to the transactional endpoint, as the legacy endpoint is deprecated. And in Neo4j 2.x this endpoint is not returning the node and relationship meta data correctly, so we dropped the feature on our end as well. Neo4j 3.x seems to be returning the meta in the transactional endpoint, but we haven't added back the mapping code yet. But it looks like we should get a 0.9.2 release out to get this done.

In the meantime, if you use 0.8.1 it should work with Neo4j 2 servers.

Cheers!

from anormcypher.

spkenn5 avatar spkenn5 commented on July 22, 2024
scala.MatchError: CypherResultRow('n':Map(paged_traverse -> http://127.0.0.1:7474/db/data/node/81928/paged/traverse/{returnType}{?pageSize,leaseTime}, all_relationships -> http://127.0.0.1:7474/db/data/node/81928/relationships/all, outgoing_typed_relationships -> http://127.0.0.1:7474/db/data/node/81928/relationships/out/{-list|&|types}, data -> Map(name -> Kenji, location -> Indonesia), self -> http://127.0.0.1:7474/db/data/node/81928, outgoing_relationships -> http://127.0.0.1:7474/db/data/node/81928/relationships/out, create_relationship -> http://127.0.0.1:7474/db/data/node/81928/relationships, extensions -> Map(), properties -> http://127.0.0.1:7474/db/data/node/81928/properties, incoming_relationships -> http://127.0.0.1:7474/db/data/node/81928/relationships/in, labels -> http://127.0.0.1:7474/db/data/node/81928/labels, traverse -> http://127.0.0.1:7474/db/data/node/81928/traverse/{returnType}, incoming_typed_relationships -> http://127.0.0.1:7474/db/data/node/81928/relationships/in/{-list|&|types}, metadata -> Map(id -> 81928, labels -> ListBuffer(Student)), property -> http://127.0.0.1:7474/db/data/node/81928/properties/{key}, all_typed_relationships -> http://127.0.0.1:7474/db/data/node/81928/relationships/all/{-list|&|types}) as String) (of class org.anormcypher.CypherResultRow)
    at handler.DataHandler$$anonfun$7.apply(DataHandler.scala:162) ~[classes/:na]
    at handler.DataHandler$$anonfun$7.apply(DataHandler.scala:162) ~[classes/:na]
    at scala.collection.immutable.Stream.map(Stream.scala:418) ~[scala-library-2.11.8.jar:na]
    at handler.DataHandler.getTest(DataHandler.scala:162) ~[classes/:na]
    at service.DataService.getUserById(DataService.scala:66) ~[classes/:na]
    at controllers.Application$$anonfun$getUserFromNeo4j$1.apply(Application.scala:37) ~[classes/:na]
    at controllers.Application$$anonfun$getUserFromNeo4j$1.apply(Application.scala:36) ~[classes/:na]
    at play.api.mvc.ActionBuilder$$anonfun$apply$16.apply(Action.scala:408) ~[play_2.11-2.4.6.jar:2.4.6]
    at play.api.mvc.ActionBuilder$$anonfun$apply$16.apply(Action.scala:407) ~[play_2.11-2.4.6.jar:2.4.6]
    at play.api.mvc.Action$.invokeBlock(Action.scala:533) ~[play_2.11-2.4.6.jar:2.4.6]
    at play.api.mvc.Action$.invokeBlock(Action.scala:530) ~[play_2.11-2.4.6.jar:2.4.6]
    at play.api.mvc.ActionBuilder$$anon$1.apply(Action.scala:493) ~[play_2.11-2.4.6.jar:2.4.6]
    at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5.apply(Action.scala:105) ~[play_2.11-2.4.6.jar:2.4.6]
    at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5.apply(Action.scala:105) ~[play_2.11-2.4.6.jar:2.4.6]
    at play.utils.Threads$.withContextClassLoader(Threads.scala:21) ~[play_2.11-2.4.6.jar:2.4.6]
    at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4.apply(Action.scala:104) ~[play_2.11-2.4.6.jar:2.4.6]
    at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4.apply(Action.scala:103) ~[play_2.11-2.4.6.jar:2.4.6]
    at scala.Option.map(Option.scala:146) ~[scala-library-2.11.8.jar:na]
    at play.api.mvc.Action$$anonfun$apply$1.apply(Action.scala:103) ~[play_2.11-2.4.6.jar:2.4.6]
    at play.api.mvc.Action$$anonfun$apply$1.apply(Action.scala:96) ~[play_2.11-2.4.6.jar:2.4.6]
    at play.api.libs.iteratee.DoneIteratee$$anonfun$mapM$2.apply(Iteratee.scala:741) ~[play-iteratees_2.11-2.4.6.jar:2.4.6]
    at play.api.libs.iteratee.DoneIteratee$$anonfun$mapM$2.apply(Iteratee.scala:741) ~[play-iteratees_2.11-2.4.6.jar:2.4.6]
    at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24) [scala-library-2.11.8.jar:na]
    at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24) [scala-library-2.11.8.jar:na]
    ... 6 common frames omitted

I am currently using 0.6.0, and using the exact same code as mentioned above, it's like the result doesn't match with the model that I created

from anormcypher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.