Dave Bechberger created TINKERPOP-3140:
------------------------------------------

             Summary: emit() without repeat() throws an NPE
                 Key: TINKERPOP-3140
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3140
             Project: TinkerPop
          Issue Type: Bug
    Affects Versions: 3.7.3
            Reporter: Dave Bechberger


I was testing a query and found that using `emit()` without a `repeat()` throws 
an NPE instead of a syntax error.


{code:java}
gremlin> g = TinkerGraph.open().traversal()
==>graphtraversalsource[tinkergraph[vertices:0 edges:0], standard]
gremlin> g.V()
gremlin> g.V().emit()
java.lang.NullPointerException
Type ':help' or ':h' for help. {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to