diff --git a/config/config-api/src/main/java/com/thoughtworks/go/config/elastic/ClusterProfile.java b/config/config-api/src/main/java/com/thoughtworks/go/config/elastic/ClusterProfile.java index efb4d6bf2bc..8fabcaad85a 100644 --- a/config/config-api/src/main/java/com/thoughtworks/go/config/elastic/ClusterProfile.java +++ b/config/config-api/src/main/java/com/thoughtworks/go/config/elastic/ClusterProfile.java @@ -52,6 +52,7 @@ protected boolean isSecure(String key) { if (pluginInfo == null || pluginInfo.getClusterProfileSettings() == null + || pluginInfo.getClusterProfileSettings().getConfigurations() == null || pluginInfo.getClusterProfileSettings().getConfiguration(key) == null) { return false; }