From acf994d0df52874de915be0bbabc4b8d3856dd52 Mon Sep 17 00:00:00 2001 From: Hellblazer Date: Sun, 2 Jun 2024 16:00:57 -0700 Subject: [PATCH] handle potential npe --- thoth/src/main/java/com/salesforce/apollo/thoth/KerlDHT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thoth/src/main/java/com/salesforce/apollo/thoth/KerlDHT.java b/thoth/src/main/java/com/salesforce/apollo/thoth/KerlDHT.java index b16a43785..1939e0a47 100644 --- a/thoth/src/main/java/com/salesforce/apollo/thoth/KerlDHT.java +++ b/thoth/src/main/java/com/salesforce/apollo/thoth/KerlDHT.java @@ -867,7 +867,7 @@ private boolean read(CompletableFuture result, HashMultiset gathered, RingCommunications.Destination destination, String action, T empty) { if (futureSailor.isEmpty()) { log.debug("Failed {}: {} tally: {} from: {} on: {}", action, identifier, tally, - destination.member().getId(), member.getId()); + destination.member() == null ? "" : destination.member().getId(), member.getId()); return !isTimedOut.get(); } T content = futureSailor.get();