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

Java.lang.Long cannot be cast to org.apache.tinkerpop.gremlin.process.traversal.traverser.util.TraverserSet in Tinkpop3.3.3(3.2.9)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.3.3, 3.2.9
    • Fix Version/s: None
    • Component/s: groovy
    • Labels:
      None

      Description

      I am using gremlin to write some graph query test(see below for detailed code) which run on Tinkerpop(3.3.3), but I got the following errors:

      g.V().hasLabel('person').has('Person.id', 609).store('p').both('knows').group().by().by(both('knows').both('knows').where(within('p')).count())

      Java.lang.Long cannot be cast to org.apache.tinkerpop.gremlin.process.traversal.traverser.util.TraverserSet

      But the following two queries work well.

      1. g.V().hasLabel('person').has('Person.id', 609).store('p').both('knows').group().by(both('knows').both('knows').where(within('p')).count())
      2. g.V().hasLabel('person').has('Person.id', 609).store('p').both('knows').group().by().by(both('knows').where(within('p')).count())

      I don't have any idea about this, any solution will be appreciated. Thank in advance.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              daoliker xiaoming
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: