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

Better error message on wrong ordering of emit()/until()/has()

VotersStop watchingWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.2.5
    • 3.2.7
    • process
    • None
    • TinkerPop 3.2.5

    Description

      gremlin> g.withSack([] as Set).
      ......1>   V().
      ......2>   emit().
      ......3>   has("station", "name", "South Kensington").
      ......4>   repeat(bothE("connectedTo").sack{s,v -> s.add(v); return s;}.by("line").otherV().simplePath()).times(2).
      ......5>   sack()
      NullPointerException
      Type ':help' or ':h' for help.
      Display stack trace? [yN]
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            okram Marko A. Rodriguez
            doanduyhai DuyHai Doan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment