[ 
https://issues.apache.org/jira/browse/TINKERPOP-1746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stephen mallette updated TINKERPOP-1746:
----------------------------------------
    Affects Version/s: 3.2.5
          Component/s: process

> 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)

Reply via email to