Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-109

Gremlin-server session opProcessor and server side serializing issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Done
    • None
    • 3.0.0-incubating
    • server
    • None

    Description

      When Exchanging with gremlin-server using the session opProcessor on a Neo4j graph (maybe this concerns all transaction enabled graphs). If you send the following request :

      g.addVertex()
      

      The server will return Error during serialization: (was java.util.NoSuchElementException) (through reference chain: java.util.HashMap["result"]->java.util.ArrayList[0])

      You can find more information on this here : https://groups.google.com/forum/#!topic/gremlin-users/S4T9yOfHlV4

      But the gist of it from my testing is that running a script that returns an uncommitted Vertex (possibly element) will cause this error. This means g.V or g.addVertex() or any other script likely to send this or any other uncommitted vertex back.
      This lasts until the offending Vertex is committed or rolled back, which can potentially be never if the session closes without commit.

      Attachments

        Activity

          People

            Unassigned Unassigned
            PommeVerte PommeVerte
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: