Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix NullPointerException during full config save (gocd#5538)
* Config saves were failing will reason null when we have following setup: - Install a v4 extension based elastic agent plugin - Define a cluster profile with some properties belonging to that v4 elastic agent plugin. * In case of full config save, GoCD will try to encrypt secure value of plugin specified profiles using 'PluginProfile.encryptSecureConfigurations'. As the v4 EA plugin did not have the capability to read the cluster profile configurations, it was failing with null pointer exception. Fix: * Verify Configurations exists on cluster profiles, as v4 plugins will not support cluster profile configurations.
- Loading branch information