diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheGroupMetricsImpl.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheGroupMetricsImpl.java index 46bdae17e8a7c..d5157063bff20 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheGroupMetricsImpl.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheGroupMetricsImpl.java @@ -314,6 +314,9 @@ private int nodePartitionsCountByState(UUID nodeId, GridDhtPartitionState state) private int clusterPartitionsCountByState(GridDhtPartitionState state) { GridDhtPartitionFullMap partFullMap = ctx.topology().partitionMap(true); + if (partFullMap == null) + return 0; + int cnt = 0; for (UUID nodeId : partFullMap.keySet())