Skip to content

Commit

Permalink
GG-25819 NPE in DrAbstractRemoteSubCommand.drControlUtilitySupported …
Browse files Browse the repository at this point in the history
…fixed.
  • Loading branch information
ibessonov authored and alamar committed Nov 18, 2019
1 parent 9efce55 commit c77bc90
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ public static boolean nodeSupports(ClusterNode clusterNode, IgniteFeatures featu
* @return {@code True} if feature is declared to be supported by remote node.
*/
public static boolean nodeSupports(byte[] featuresAttrBytes, IgniteFeatures feature) {
if (featuresAttrBytes == null)
return false;

int featureId = feature.getFeatureId();

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

0 comments on commit c77bc90

Please sign in to comment.