Sarthak Ghosh created TINKERPOP-2353:
----------------------------------------

             Summary: Error while Shutting Down Gremlin Server
                 Key: TINKERPOP-2353
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2353
             Project: TinkerPop
          Issue Type: Bug
          Components: server
    Affects Versions: 3.4.4
            Reporter: Sarthak Ghosh


I have a kubernetes environment where gremlin server is running as a server. 
While shutting down gremlin-server, I see below mentioned error

```
20:23:08.959 [gremlin-server-shutdown] INFO  o.a.t.gremlin.server.op.OpLoader - 
Adding the cypher OpProcessor.
20:23:08.963 [gremlin-server-shutdown] INFO  o.a.t.gremlin.server.op.OpLoader - 
Adding the standard OpProcessor.
20:23:08.968 [gremlin-server-shutdown] INFO  o.a.t.gremlin.server.op.OpLoader - 
Adding the session OpProcessor.
20:23:09.163 [gremlin-server-shutdown] INFO  o.a.t.gremlin.server.op.OpLoader - 
Adding the traversal OpProcessor.
20:01:51.200 [gremlin-server-shutdown] INFO  o.a.t.gremlin.server.GremlinServer 
- Shutting down OpProcessor[]
20:01:51.201 [gremlin-server-shutdown] INFO  o.a.t.gremlin.server.GremlinServer 
- Shutting down OpProcessor[cypher]
20:01:51.201 [gremlin-server-shutdown] INFO  o.a.t.gremlin.server.GremlinServer 
- Shutting down OpProcessor[session]
20:01:51.202 [gremlin-server-shutdown] INFO  o.a.t.gremlin.server.GremlinServer 
- Shutting down OpProcessor[traversal]
20:01:51.203 [gremlin-server-shutdown] INFO  o.a.t.gremlin.server.GremlinServer 
- Shutting down thread pools.
20:01:51.203 [gremlin-server-shutdown] DEBUG o.a.t.gremlin.server.GremlinServer 
- Shutdown Gremlin thread pool.
Exception in thread "gremlin-server-shutdown" java.lang.NullPointerException
        at 
org.apache.tinkerpop.gremlin.server.GremlinServer.stop(GremlinServer.java:255)
        at 
org.apache.tinkerpop.gremlin.server.GremlinServer.lambda$new$0(GremlinServer.java:103)
        at java.lang.Thread.run(Thread.java:748)
```

Steps carried out
1. server start -> *bin/gremlin-server.sh start*
2. Check whether graphs mentioned in gremlin-server.yaml have loaded properly 
or not
3. If failure, then stop the server by calling -> *bin/gremlin-server.sh stop*
4. Check logs5. Exit environment



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to