This is an automated email from the ASF dual-hosted git repository.

markt-asf pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
     new 093f2ec30f Avoid possible NPE.
093f2ec30f is described below

commit 093f2ec30fcb90da8d6a1f166e894ffc4dad67b6
Author: Mark Thomas <[email protected]>
AuthorDate: Tue May 19 09:36:53 2026 +0100

    Avoid possible NPE.
---
 java/org/apache/catalina/tribes/group/ChannelCoordinator.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/java/org/apache/catalina/tribes/group/ChannelCoordinator.java 
b/java/org/apache/catalina/tribes/group/ChannelCoordinator.java
index 3acf580994..1bf6e3bfdb 100644
--- a/java/org/apache/catalina/tribes/group/ChannelCoordinator.java
+++ b/java/org/apache/catalina/tribes/group/ChannelCoordinator.java
@@ -382,6 +382,7 @@ public class ChannelCoordinator extends 
ChannelInterceptorBase implements Messag
 
     @Override
     public void heartbeat() {
+        ChannelSender clusterSender = this.clusterSender;
         if (clusterSender != null) {
             clusterSender.heartbeat();
         }


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

Reply via email to