[ https://issues.apache.org/jira/browse/TINKERPOP-1746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16164945#comment-16164945 ]
ASF GitHub Bot commented on TINKERPOP-1746: ------------------------------------------- Github user dkuppitz commented on the issue: https://github.com/apache/tinkerpop/pull/711 Nvm, I just saw the ticket description (link is missing here and I was too lazy to look it up). VOTE: +1 > Better error message on wrong ordering of emit()/until()/has() > -------------------------------------------------------------- > > Key: TINKERPOP-1746 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1746 > Project: TinkerPop > Issue Type: Improvement > Components: process > Affects Versions: 3.2.5 > Environment: TinkerPop 3.2.5 > Reporter: DOAN DuyHai > Priority: Trivial > > {code} > 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] > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)