[ 
https://issues.apache.org/jira/browse/TINKERPOP-2353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17072639#comment-17072639
 ] 

ASF GitHub Bot commented on TINKERPOP-2353:
-------------------------------------------

spmallette commented on pull request #1270: TINKERPOP-2353 Added some checks 
for null in shutdown of server
URL: https://github.com/apache/tinkerpop/pull/1270
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> 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
>            Priority: Minor
>
> I have a kubernetes environment where gremlin server is running as a server. 
> While shutting down gremlin-server, I see below mentioned error
> {code}
> 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)
> {code}
> 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