java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • https://github.com/joaquincasares/java-driver/commit/2f13e61f21e96915c5d8f5009d35d7ef575b7899 {CODE} java.lang.NullPointerException + at com.datastax.driver.core.ReplicationStrategy$NetworkTopologyStrategy.computeTokenToReplicaMap(ReplicationStategy.java:122) + at com.datastax.driver.core.Metadata$TokenMap.build(Metadata.java:287) + at com.datastax.driver.core.Metadata.rebuildTokenMap(Metadata.java:141) + at com.datastax.driver.core.ControlConnection.refreshNodeListAndTokenMap(ControlConnection.java:386) + at com.datastax.driver.core.ControlConnection.refreshNodeListAndTokenMap(ControlConnection.java:275) + at com.datastax.driver.core.ControlConnection.onAdd(ControlConnection.java:463) + at com.datastax.driver.core.Cluster$Manager.onAdd(Cluster.java:1118) + at com.datastax.driver.core.Cluster$Manager$2.onReconnection(Cluster.java:1084) + at com.datastax.driver.core.AbstractReconnectionHandler.run(AbstractReconnectionHandler.java:90) + at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) + at java.util.concurrent.FutureTask.run(FutureTask.java:262) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) + at java.lang.Thread.run(Thread.java:724) {CODE}
    via by Joaquin Casares,
  • https://github.com/joaquincasares/java-driver/commit/2f13e61f21e96915c5d8f5009d35d7ef575b7899 {CODE} java.lang.NullPointerException + at com.datastax.driver.core.ReplicationStrategy$NetworkTopologyStrategy.computeTokenToReplicaMap(ReplicationStategy.java:122) + at com.datastax.driver.core.Metadata$TokenMap.build(Metadata.java:287) + at com.datastax.driver.core.Metadata.rebuildTokenMap(Metadata.java:141) + at com.datastax.driver.core.ControlConnection.refreshNodeListAndTokenMap(ControlConnection.java:386) + at com.datastax.driver.core.ControlConnection.refreshNodeListAndTokenMap(ControlConnection.java:275) + at com.datastax.driver.core.ControlConnection.onAdd(ControlConnection.java:463) + at com.datastax.driver.core.Cluster$Manager.onAdd(Cluster.java:1118) + at com.datastax.driver.core.Cluster$Manager$2.onReconnection(Cluster.java:1084) + at com.datastax.driver.core.AbstractReconnectionHandler.run(AbstractReconnectionHandler.java:90) + at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) + at java.util.concurrent.FutureTask.run(FutureTask.java:262) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) + at java.lang.Thread.run(Thread.java:724) {CODE}
    via by Joaquin Casares,
    • java.lang.NullPointerException at com.datastax.driver.core.ReplicationStrategy$NetworkTopologyStrategy.computeTokenToReplicaMap(ReplicationStategy.java:128) at com.datastax.driver.core.Metadata$TokenMap.build(Metadata.java:288) at com.datastax.driver.core.Metadata.rebuildTokenMap(Metadata.java:142) at com.datastax.driver.core.ControlConnection.refreshNodeListAndTokenMap(ControlConnection.java:385) at com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:263) at com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214) at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161) at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77) at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890) at com.datastax.driver.core.Cluster$Manager.newSession(Cluster.java:910) at com.datastax.driver.core.Cluster$Manager.access$200(Cluster.java:806) at com.datastax.driver.core.Cluster.connect(Cluster.java:158)
    No Bugmate found.