java.lang.NullPointerException

DataStax JIRA | Anthony Cozzie | 2 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

    When we update the speculative executions metric, we should check if metrics are enabled first. This produces an NPE in {{RequestHandler#newExeutionTask}}. ----- _Initial report:_ The driver throws NPEs if the speculative execution threshold is sufficiently low on cassandra-stress runs. Steps to reproduce: launch a VM with the DSP-5488 branch and run a write test: {code} automaton@i-6d57d8aac:~/bdp/build/dist/resources/cassandra/tools/bin$ ./cassandra-stress write -node specExecThreshold=100 Connected to cluster: coztest Datatacenter: Cassandra; Host: localhost/127.0.0.1; Rack: rack1 Created keyspaces. Sleeping 1s for propagation. Sleeping 2s... Warming up WRITE with 50000 iterations... Exception in thread "cluster1-worker-1" java.lang.NullPointerException at com.datastax.driver.core.RequestHandler$1$1.run(RequestHandler.java:138) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Exception in thread "cluster1-worker-2" java.lang.NullPointerException at com.datastax.driver.core.RequestHandler$1$1.run(RequestHandler.java:138) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Exception in thread "cluster1-worker-0" java.lang.NullPointerException at com.datastax.driver.core.RequestHandler$1$1.run(RequestHandler.java:138) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Exception in thread "cluster1-worker-4" java.lang.NullPointerException at com.datastax.driver.core.RequestHandler$1$1.run(RequestHandler.java:138) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) {code}

    DataStax JIRA | 2 years ago | Anthony Cozzie
    java.lang.NullPointerException
  2. 0

    When we update the speculative executions metric, we should check if metrics are enabled first. This produces an NPE in {{RequestHandler#newExeutionTask}}. ----- _Initial report:_ The driver throws NPEs if the speculative execution threshold is sufficiently low on cassandra-stress runs. Steps to reproduce: launch a VM with the DSP-5488 branch and run a write test: {code} automaton@i-6d57d8aac:~/bdp/build/dist/resources/cassandra/tools/bin$ ./cassandra-stress write -node specExecThreshold=100 Connected to cluster: coztest Datatacenter: Cassandra; Host: localhost/127.0.0.1; Rack: rack1 Created keyspaces. Sleeping 1s for propagation. Sleeping 2s... Warming up WRITE with 50000 iterations... Exception in thread "cluster1-worker-1" java.lang.NullPointerException at com.datastax.driver.core.RequestHandler$1$1.run(RequestHandler.java:138) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Exception in thread "cluster1-worker-2" java.lang.NullPointerException at com.datastax.driver.core.RequestHandler$1$1.run(RequestHandler.java:138) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Exception in thread "cluster1-worker-0" java.lang.NullPointerException at com.datastax.driver.core.RequestHandler$1$1.run(RequestHandler.java:138) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Exception in thread "cluster1-worker-4" java.lang.NullPointerException at com.datastax.driver.core.RequestHandler$1$1.run(RequestHandler.java:138) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) {code}

    DataStax JIRA | 2 years ago | Anthony Cozzie
    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.RequestHandler$1$1.run()
    2. DataStax Java Driver for Apache Cassandra - Core
      RequestHandler$1$1.run
      1. com.datastax.driver.core.RequestHandler$1$1.run(RequestHandler.java:138)
      1 frame
    3. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames