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

NullPointerException in Gossip handleStateNormal

    XMLWordPrintableJSON

    Details

    • Severity:
      Normal

      Description

      Whilst comparing dtests for CASSANDRA-9970 I found this failing dtest in 2.2:

      Unexpected error in node1 node log: ['ERROR [GossipStage:1] 2015-08-14 15:39:57,873 CassandraDaemon.java:183 - Exception in thread Thread[GossipStage:1,5,main] java.lang.NullPointerException: null \tat org.apache.cassandra.service.StorageService.getApplicationStateValue(StorageService.java:1731) ~[main/:na] \tat org.apache.cassandra.service.StorageService.getTokensFor(StorageService.java:1804) ~[main/:na] \tat org.apache.cassandra.service.StorageService.handleStateNormal(StorageService.java:1857) ~[main/:na] \tat org.apache.cassandra.service.StorageService.onChange(StorageService.java:1629) ~[main/:na] \tat org.apache.cassandra.service.StorageService.onJoin(StorageService.java:2312) ~[main/:na] \tat org.apache.cassandra.gms.Gossiper.handleMajorStateChange(Gossiper.java:1025) ~[main/:na] \tat org.apache.cassandra.gms.Gossiper.applyStateLocally(Gossiper.java:1106) ~[main/:na] \tat org.apache.cassandra.gms.GossipDigestAck2VerbHandler.doVerb(GossipDigestAck2VerbHandler.java:49) ~[main/:na] \tat org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:66) ~[main/:na] \tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_80] \tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_80] \tat java.lang.Thread.run(Thread.java:745) ~[na:1.7.0_80]']
      

      I wasn't able to find it on unpatched branches but it is clearly not related to CASSANDRA-9970, if anything it could have been a side effect of CASSANDRA-9871.

        Attachments

        1. node1_debug.log
          3.23 MB
          Stefania Alborghetti
        2. node2_debug.log
          3.31 MB
          Stefania Alborghetti
        3. node3_debug.log
          3.33 MB
          Stefania Alborghetti

          Issue Links

            Activity

              People

              • Assignee:
                stefania Stefania Alborghetti
                Reporter:
                stefania Stefania Alborghetti
                Authors:
                Stefania Alborghetti
                Reviewers:
                Joel Knighton
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: