Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-13060

NPE in StorageService.java while bootstrapping

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.0.13, 3.11.0, 4.0-alpha1, 4.0
    • None

    Description

      Lots of NPE happens when bootstrapping new node:

      WARN  [SharedPool-Worker-1] 2016-12-19 23:09:09,034 AbstractLocalAwareExecutorService.java:169 - Uncaught exception on thread Thread[SharedPool-Worker-1,5,main]: {}
      java.lang.NullPointerException: null
              at org.apache.cassandra.service.StorageService.isRpcReady(StorageService.java:1829) ~[apache-cassandra-3.0.10.jar:3.0.10]
              at org.apache.cassandra.service.StorageService.notifyUp(StorageService.java:1787) ~[apache-cassandra-3.0.10.jar:3.0.10]
              at org.apache.cassandra.service.StorageService.onAlive(StorageService.java:2424) ~[apache-cassandra-3.0.10.jar:3.0.10]
              at org.apache.cassandra.gms.Gossiper.realMarkAlive(Gossiper.java:999) ~[apache-cassandra-3.0.10.jar:3.0.10]
              at org.apache.cassandra.gms.Gossiper$3.response(Gossiper.java:979) ~[apache-cassandra-3.0.10.jar:3.0.10]
              at org.apache.cassandra.net.ResponseVerbHandler.doVerb(ResponseVerbHandler.java:53) ~[apache-cassandra-3.0.10.jar:3.0.10]
              at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:67) ~[apache-cassandra-3.0.10.jar:3.0.10]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_111]
              at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164) ~[apache-cassandra-3.0.10.jar:3.0.10]
              at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:136) [apache-cassandra-3.0.10.jar:3.0.10]
              at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [apache-cassandra-3.0.10.jar:3.0.10]
              at java.lang.Thread.run(Thread.java:745) [na:1.8.0_111]
      

      Attachments

        1. 13060-3.0.txt
          2 kB
          Jay Zhuang

        Issue Links

          Activity

            People

              jay.zhuang Jay Zhuang
              jay.zhuang Jay Zhuang
              Jay Zhuang
              Jeff Jirsa
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: