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

Jason Brown commented on CASSANDRA-13030:
-----------------------------------------

Your patch will certainly fix the problem. However, I wonder if we should fix 
this for all the {{NodeToolCmd}} derived classes, either by putting it into a 
constructor or a static initialization block in {{NodeToolCmd}}. wdyt?

> nodetool stopdaemon errors out
> ------------------------------
>
>                 Key: CASSANDRA-13030
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13030
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Corentin Chary
>            Priority: Minor
>             Fix For: 3.x
>
>         Attachments: 0001-Fix-StopDaemon.patch
>
>
> {code}
>       Cassandra has shutdown.
>       error: null
>       -- StackTrace --
>         java.lang.NullPointerException
>             at 
> org.apache.cassandra.config.DatabaseDescriptor.getDiskFailurePolicy(DatabaseDescriptor.java:1842)
>             at 
> org.apache.cassandra.utils.JVMStabilityInspector.inspectThrowable(JVMStabilityInspector.java:62)
>             at 
> org.apache.cassandra.tools.nodetool.StopDaemon.execute(StopDaemon.java:37)
>             at 
> org.apache.cassandra.tools.NodeTool$NodeToolCmd.run(NodeTool.java:254)
>             at org.apache.cassandra.tools.NodeTool.main(NodeTool.java:168)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to