Skip to content

Commit c77bc90

Browse files
ibessonovalamar
authored andcommitted
GG-25819 NPE in DrAbstractRemoteSubCommand.drControlUtilitySupported fixed.
1 parent 9efce55 commit c77bc90

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/core/src/main/java/org/apache/ignite/internal/IgniteFeatures.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ public static boolean nodeSupports(ClusterNode clusterNode, IgniteFeatures featu
122122
* @return {@code True} if feature is declared to be supported by remote node.
123123
*/
124124
public static boolean nodeSupports(byte[] featuresAttrBytes, IgniteFeatures feature) {
125+
if (featuresAttrBytes == null)
126+
return false;
127+
125128
int featureId = feature.getFeatureId();
126129

127130
// Same as "BitSet.valueOf(features).get(featureId)"

0 commit comments

Comments
 (0)