Fix of NPE in TcpCommunicationSpi caused by simultaneous node stopping. - Fixes
@@ -2781,6 +2781,9 @@ public class TcpCommunicationSpi extends IgniteSpiAdapter implements Communicati
while (retry);
}
catch (Throwable t) {
+ if (stopping)
+ throw new IgniteSpiException("Node is stopping.", t);
+
log.error("Failed to send message to remote node [node=" + node + ", msg=" + msg + ']', t);
if (t instanceof Error)
