spinnaker/spinnaker · error · SystemException
Could not resolve configuration
Error message
Could not resolve configuration '%s' with coordinates '%s'
What it means
ConfigFactory.resolveConfiguration asks the configResolver to materialize an instance of the extension/plugin config class from the environment at the coordinates' config pointer. If the resolver returns null — no value could be produced at all for those coordinates — it throws this SystemException naming the config class and the coordinates pointer. It means the configuration source had nothing usable to bind for the requested config type.
Solutions
- Add the required configuration block for the plugin/extension under the config pointer in Spinnaker config (e.g. spinnaker.exts.<pluginId>.<extension>)
- Provide a default config file for the plugin in its assets and confirm the config path matches coordinates.toPointer()
- Check the property name spelling/case in config matches what the plugin's config class declares
Example fix
# spinnaker-local.yml
# before: (missing)
# after:
spinnaker:
exts:
my.plugin.id:
myExtension:
enabled: true Defensive patterns
Strategy: validation
Validate before calling
// check the environment exposes the pointer before creating configs
String ptr = coordinates.toPointer();
if (!env.containsProperty(ptr.replace('/', '.').substring(1))) {
throw new IllegalStateException("No config found at " + ptr);
} Try / catch
try { ConfigFactory.createPluginConfig(...); } catch (SystemException e) { if (e.getMessage().contains("Could not resolve configuration")) { log.error("Missing config block for plugin: {}", e.getMessage(), e); } throw e; } Prevention
- Always ship a default config for the plugin under spinnaker.exts.<pluginId>
- Match property paths exactly to the config class and coordinates pointer
- Document required config in the plugin README so operators add it at install time
When it happens
Trigger: Calling createExtensionConfig/createPluginConfig when neither the plugin's config file, nor the Spring environment properties under the config pointer (e.g. /spinnaker/exts/<pluginId>/<extension>) provide a resolvable value for the config class.
Common situations: Plugin expects a config file that was never mounted (e.g. hal config extension section missing); typo in the property path so nothing binds; new plugin installed without its required config block added to Spinnaker config.
Understand the failure class
Background: "X is required", "must be set", "cannot be empty": the missing-required-config error family, from Vertex AI project/location to WeChat keys — this error's family across 18 libraries.
Related errors
- ApplicationContext must be configurable
- Could not find extension class
- Could not find matching constructor on file downloader for…
- Could not find system extension class
- Downloaded plugin bundle does not have plugin for service…
AI-assisted analysis of spinnaker/spinnaker@1d4a5d0f6d (2026-09-10).
Data as JSON: /api/errors/092575b2b06da463.
Report an issue: GitHub.
Appendix: source
Thrown at kork/kork-plugins/src/main/kotlin/com/netflix/spinnaker/kork/plugins/config/ConfigFactory.kt:53
SystemExtensionConfigCoordinates(extensionConfigId)
}
return resolveConfiguration(coordinates, configClass)
}
/**
* Create the plugin configuration given the [configClass] and [pluginId].
*/
fun createPluginConfig(configClass: Class<*>, pluginId: String?, pluginConfigId: String): Any? {
if (pluginId != null) {
return resolveConfiguration(PluginConfigCoordinates(pluginId, pluginConfigId), configClass)
}
return null
}
private fun resolveConfiguration(coordinates: ConfigCoordinates, configClass: Class<*>): Any? {
return configClass
.let { configResolver.resolve(coordinates, it) }
?: throw SystemException(
"Could not resolve configuration '${configClass.simpleName}' with " +
"coordinates '${coordinates.toPointer()}'"
)
}
}
View on GitHub (pinned to 1d4a5d0f6d)