{"record":{"id":"092575b2b06da463","repo":"spinnaker/spinnaker","slug":"could-not-resolve-configuration-s-with-coordina","errorCode":null,"errorMessage":"Could not resolve configuration '%s' with coordinates '%s'","messagePattern":"Could not resolve configuration '(.+?)' with coordinates '(.+?)'","errorType":"exception","errorClass":"SystemException","httpStatus":null,"severity":"error","filePath":"kork/kork-plugins/src/main/kotlin/com/netflix/spinnaker/kork/plugins/config/ConfigFactory.kt","lineNumber":53,"sourceCode":"      SystemExtensionConfigCoordinates(extensionConfigId)\n    }\n    return resolveConfiguration(coordinates, configClass)\n  }\n\n  /**\n   * Create the plugin configuration given the [configClass] and [pluginId].\n   */\n  fun createPluginConfig(configClass: Class<*>, pluginId: String?, pluginConfigId: String): Any? {\n    if (pluginId != null) {\n      return resolveConfiguration(PluginConfigCoordinates(pluginId, pluginConfigId), configClass)\n    }\n    return null\n  }\n\n  private fun resolveConfiguration(coordinates: ConfigCoordinates, configClass: Class<*>): Any? {\n    return configClass\n      .let { configResolver.resolve(coordinates, it) }\n      ?: throw SystemException(\n        \"Could not resolve configuration '${configClass.simpleName}' with \" +\n          \"coordinates '${coordinates.toPointer()}'\"\n      )\n  }\n}\n","sourceCodeStart":35,"sourceCodeEnd":59,"githubUrl":"https://github.com/spinnaker/spinnaker/blob/1d4a5d0f6d10d0232b1af077decd559b68a94a5e/kork/kork-plugins/src/main/kotlin/com/netflix/spinnaker/kork/plugins/config/ConfigFactory.kt#L35-L59","documentation":"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.","triggerScenarios":"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.","commonSituations":"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.","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"],"exampleFix":"# spinnaker-local.yml\n# before: (missing)\n# after:\nspinnaker:\n  exts:\n    my.plugin.id:\n      myExtension:\n        enabled: true","handlingStrategy":"validation","validationCode":"// check the environment exposes the pointer before creating configs\nString ptr = coordinates.toPointer();\nif (!env.containsProperty(ptr.replace('/', '.').substring(1))) {\n  throw new IllegalStateException(\"No config found at \" + ptr);\n}","typeGuard":null,"tryCatchPattern":"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; }","preventionTips":["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"],"tags":["plugins","config","spring"],"backgroundTag":"missing-required-config","analyzedSha":"1d4a5d0f6d10d0232b1af077decd559b68a94a5e","analyzedAt":"2026-09-10T14:13:07.222Z","contentChangedAt":"2026-09-10T14:13:07.222Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}