nodetool info NPE when node isn't fully booted ----------------------------------------------
Key: CASSANDRA-2270 URL: https://issues.apache.org/jira/browse/CASSANDRA-2270 Project: Cassandra Issue Type: Bug Reporter: Sébastien Giroux Priority: Minor Fix For: 0.7.4 Running "nodetool -h 127.0.0.1 info" when the node is not yet ready throw a NPE. Exception in thread "main" java.lang.NullPointerException at org.apache.cassandra.gms.Gossiper.getCurrentGenerationNumber(Gossiper.java:313) at org.apache.cassandra.service.StorageService.getCurrentGenerationNumber(StorageService.java:1239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:111) at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:45) at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:226) at com.sun.jmx.mbeanserver.PerInterface.getAttribute(PerInterface.java:83) at com.sun.jmx.mbeanserver.MBeanSupport.getAttribute(MBeanSupport.java:205) -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira