[ 
https://issues.apache.org/jira/browse/CASSANDRA-20603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18131865#comment-18131865
 ] 

Dmitry Konstantinov commented on CASSANDRA-20603:
-------------------------------------------------

It looks like the change was forgotten to merge..

We still observe this NPE, for example:  
[https://ci-cassandra.apache.org/job/Cassandra-5.0/686/testReport/junit/dtest-novnode.materialized_views_test/TestMaterializedViews/Tests___dtest_novnode_jdk11_41_64___test_base_replica_repair_with_contention/]
{code:java}
failed on teardown with "Failed: Unexpected error found in node logs (see 
stdout for full details). Errors: [[node1] 'ERROR [GossipStage:1] 
2026-10-23T23:58:03,235 JVMStabilityInspector.java:70 - Exception in thread 
Thread[GossipStage:1,5,GossipStage]\njava.lang.NullPointerException: null\n\tat 
org.apache.cassandra.gms.GossipShutdownVerbHandler.doVerb(GossipShutdownVerbHandler.java:39)\n\tat
 org.apache.cassandra.net.InboundSink.lambda$new$0(InboundSink.java:79)\n\tat 
org.apache.cassandra.net.InboundSink.accept(InboundSink.java:98)\n\tat 
org.apache.cassandra.net.InboundSink.accept(InboundSink.java:46)\n\tat 
org.apache.cassandra.net.InboundMessageHandler$ProcessMessage.run(InboundMessageHandler.java:430)\n\tat
 
org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:133)\n\tat
 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat
 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat
 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
 java.base/java.lang.Thread.run(Thread.java:829)']" {code}

> NPE when a node sees gossip shutdown from unknown peer
> ------------------------------------------------------
>
>                 Key: CASSANDRA-20603
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20603
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Cluster/Gossip
>            Reporter: David Capwell
>            Assignee: David Capwell
>            Priority: Normal
>             Fix For: 5.0.x
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {code}
> java.lang.NullPointerException
>     at 
> org.apache.cassandra.gms.GossipShutdownVerbHandler.doVerb(GossipShutdownVerbHandler.java:52)
> {code}
> This is due to
> {code}
> Gossiper.instance.getEndpointStateForEndpoint(message.from()).getHeartBeatState();
> {code}
> The endpoint isn’t known so getHeartBeatState can’t be called



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to