java.lang.NullPointerException

DataStax JIRA | Anthony Cozzie | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  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

    GitHub comment 1394#130200158

    GitHub | 2 years ago | bigbluebutton-issue-import
    java.lang.NullPointerException: null at org.bigbluebutton.webconference.voice.freeswitch.FreeswitchApplication.conferenceEventJoin(FreeswitchApplication.java: 140) [FreeswitchApplication.class:na] at org.freeswitch.esl.client.inbound.Client $3$2.run(Client.java:494) [org.freeswitch.esl.client-0.9.0- SNAPSHOT.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java: 1110) [na:1.6.0]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 1394#130200180

    GitHub | 2 years ago | bigbluebutton-issue-import
    java.lang.NullPointerException: null at org.bigbluebutton.webconference.voice.freeswitch.FreeswitchApplication.conferenceEventJoin(FreeswitchApplication.java: 140) [FreeswitchApplication.class:na] at org.freeswitch.esl.client.inbound.Client $3$2.run(Client.java:494) [org.freeswitch.esl.client-0.9.0- SNAPSHOT.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java: 1110) [na:1.6.0]
  6. 0

    Primefaces ajaxExceptionHandler not working in liferay 7

    Stack Overflow | 4 days ago | Pecc
    java.lang.NullPointerException: test exception<br/> at [removed for brevity...]

    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
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      2 frames