diff --git a/src/main/java/console/command/JlineUtils.java b/src/main/java/console/command/JlineUtils.java index ed2f40aa..28815689 100644 --- a/src/main/java/console/command/JlineUtils.java +++ b/src/main/java/console/command/JlineUtils.java @@ -214,7 +214,15 @@ private static List generateComplters(Client client) { if (group.isPresent() && !group.get().getNodeList().isEmpty()) { group.get() .getNodeList() - .forEach(groupNodeInfo -> keys.addAll(groupNodeInfo.getFeatureKeys())); + .forEach( + groupNodeInfo -> { + if (groupNodeInfo.getFeatureKeys() != null) { + keys.addAll(groupNodeInfo.getFeatureKeys()); + } + if (groupNodeInfo.getSupportConfigs() != null) { + keys.addAll(groupNodeInfo.getSupportConfigs()); + } + }); } } catch (Exception ignored) { logger.info("Failed to get group info list, skip feature keys.");