diff --git a/core/src/main/java/org/apache/accumulo/core/clientImpl/RootClientTabletCache.java b/core/src/main/java/org/apache/accumulo/core/clientImpl/RootClientTabletCache.java index f86d90b6f85..65090740171 100644 --- a/core/src/main/java/org/apache/accumulo/core/clientImpl/RootClientTabletCache.java +++ b/core/src/main/java/org/apache/accumulo/core/clientImpl/RootClientTabletCache.java @@ -58,7 +58,7 @@ public class RootClientTabletCache extends ClientTabletCache { public void binMutations(ClientContext context, List mutations, Map> binnedMutations, List failures) { CachedTablet rootCachedTablet = getRootTabletLocation(context); - if (rootCachedTablet != null) { + if (rootCachedTablet != null && rootCachedTablet.getTserverLocation().isPresent()) { var tsm = new TabletServerMutations(rootCachedTablet.getTserverSession().orElseThrow()); for (T mutation : mutations) { tsm.addMutation(RootTable.EXTENT, mutation);