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

ConnectionBurnTest fails with NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Normal
    • Resolution: Unresolved
    • 5.x
    • Test/burn
    • None
    • Correctness
    • Normal
    • Challenging
    • User Report
    • All
    • None
    • Hide

      Run ConnectionBurnTest locally.

      Show
      Run ConnectionBurnTest locally.

    Description

      The ConnectionBurnTest is used to check the throughput of outgoing and incoming connections and report the results of execution to the log. During the test run, I noticed a couple of errors that actually prevent us from getting any results.

      1. The NullPointerException is thrown during the test execution
        java.lang.NullPointerException: null
        	at org.apache.cassandra.metrics.ClientMetrics.unpauseConnection(ClientMetrics.java:69)
        	at org.apache.cassandra.net.AbstractMessageHandler.onReserveCapacityRegained(AbstractMessageHandler.java:314)
        	at org.apache.cassandra.net.AbstractMessageHandler.onGlobalReserveCapacityRegained(AbstractMessageHandler.java:289)
        	at org.apache.cassandra.net.AbstractMessageHandler$WaitQueue$Ticket.reactivateHandler(AbstractMessageHandler.java:792)
        	at org.apache.cassandra.net.AbstractMessageHandler$WaitQueue$ReactivateHandlers.run(AbstractMessageHandler.java:740)
        
      2. The exception is swallowed and the test exits almost immediately, but the exception itself is not rethrown and the exit code is zero. The test is always green on CI, but a fatal exception has occurred;

      Attachments

        Issue Links

          Activity

            People

              mmuzaf Maxim Muzafarov
              mmuzaf Maxim Muzafarov
              Maxim Muzafarov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: