java.lang.NullPointerException

DataStax JIRA | Joaquin Casares | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    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}

    DataStax JIRA | 3 years ago | Joaquin Casares
    java.lang.NullPointerException
  2. 0

    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}

    DataStax JIRA | 3 years ago | Joaquin Casares
    java.lang.NullPointerException
  3. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  6. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 2 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.datastax.driver.core.ReplicationStrategy$NetworkTopologyStrategy.computeTokenToReplicaMap()
    2. DataStax Java Driver for Apache Cassandra - Core
      AbstractReconnectionHandler.run
      1. com.datastax.driver.core.ReplicationStrategy$NetworkTopologyStrategy.computeTokenToReplicaMap(ReplicationStategy.java:122)
      2. com.datastax.driver.core.Metadata$TokenMap.build(Metadata.java:287)
      3. com.datastax.driver.core.Metadata.rebuildTokenMap(Metadata.java:141)
      4. com.datastax.driver.core.ControlConnection.refreshNodeListAndTokenMap(ControlConnection.java:386)
      5. com.datastax.driver.core.ControlConnection.refreshNodeListAndTokenMap(ControlConnection.java:275)
      6. com.datastax.driver.core.ControlConnection.onAdd(ControlConnection.java:463)
      7. com.datastax.driver.core.Cluster$Manager.onAdd(Cluster.java:1118)
      8. com.datastax.driver.core.Cluster$Manager$2.onReconnection(Cluster.java:1084)
      9. com.datastax.driver.core.AbstractReconnectionHandler.run(AbstractReconnectionHandler.java:90)
      9 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      7. java.lang.Thread.run(Thread.java:724)
      7 frames