You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Maxim Muzafarov (Jira)" <ji...@apache.org> on 2023/08/19 17:27:00 UTC

[jira] [Updated] (CASSANDRA-18780) ConnectionBurnTest fails with NullPointerException

     [ https://issues.apache.org/jira/browse/CASSANDRA-18780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maxim Muzafarov updated CASSANDRA-18780:
----------------------------------------
    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.
 # The {{NullPointerException}} is thrown during the test execution
{code:java}
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)
{code}
 # 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;

  was:
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.
 # The {{NullPointerException}} is thrown during the test execution
{code:java}
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)
{code}

 # 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;


> ConnectionBurnTest fails with NullPointerException
> --------------------------------------------------
>
>                 Key: CASSANDRA-18780
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18780
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Maxim Muzafarov
>            Assignee: Maxim Muzafarov
>            Priority: Normal
>
> 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.
>  # The {{NullPointerException}} is thrown during the test execution
> {code:java}
> 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)
> {code}
>  # 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;



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org