[ https://issues.apache.org/jira/browse/TINKERPOP-3140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen Mallette closed TINKERPOP-3140. --------------------------------------- Fix Version/s: 4.0.0 3.7.4 Resolution: Fixed > 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 > Fix For: 4.0.0, 3.7.4 > > > 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)