[ https://issues.apache.org/jira/browse/TINKERPOP-3140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen Mallette reassigned TINKERPOP-3140: ------------------------------------------- Component/s: process Assignee: Stephen Mallette Fixed with: showing the standard error with: {code} gremlin> g.V().emit() The repeat()-traversal was not defined: RepeatStep(emit(true),null,until(false)) Type ':help' or ':h' for help. Display stack trace? [yN] {code} > emit() without repeat() throws an NPE > ------------------------------------- > > Key: TINKERPOP-3140 > URL: https://issues.apache.org/jira/browse/TINKERPOP-3140 > Project: TinkerPop > Issue Type: Bug > Components: process > Affects Versions: 3.7.3 > Reporter: Dave Bechberger > Assignee: Stephen Mallette > Priority: Minor > > 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)