{"record":{"id":"7211f566bceeb4b7","repo":"quarkusio/quarkus","slug":"io-quarkus-runtime-deploymentexception-wrapping-th","errorCode":null,"errorMessage":"io.quarkus.runtime.DeploymentException wrapping the config value resolution failure (no own message)","messagePattern":"io\\.quarkus\\.runtime\\.DeploymentException wrapping the config value resolution failure \\(no own message\\)","errorType":"exception","errorClass":"DeploymentException","httpStatus":null,"severity":"error","filePath":"extensions/arc/runtime/src/main/java/io/quarkus/arc/runtime/ConfigPropertyCreator.java","lineNumber":38,"sourceCode":"        }\n\n        try {\n            Class.forName(requiredType, true, cl);\n        } catch (ClassNotFoundException e) {\n            throw new IllegalStateException(\"Cannot load required type: \" + requiredType);\n        }\n\n        InjectionPoint injectionPoint = InjectionPointProvider.getCurrent(context);\n        if (injectionPoint == null) {\n            throw new IllegalStateException(\"No current injection point found\");\n        }\n\n        ConfigStaticInitCheckInterceptor.recordConfigValue(injectionPoint, null);\n\n        try {\n            return ConfigProducerUtil.getValue(injectionPoint, ConfigProvider.getConfig());\n        } catch (Exception e) {\n            throw new DeploymentException(e);\n        }\n    }\n}\n","sourceCodeStart":20,"sourceCodeEnd":42,"githubUrl":"https://github.com/quarkusio/quarkus/blob/e1c734241f34c7919086ceb4c9262b4a58f6de44/extensions/arc/runtime/src/main/java/io/quarkus/arc/runtime/ConfigPropertyCreator.java#L20-L42","documentation":"Fires in ConfigPropertyCreator.create when ConfigProducerUtil.getValue fails to resolve the injected config property: the catch block wraps the underlying resolution failure in a DeploymentException (which carries no message of its own; the cause holds the actual resolution error such as a missing property or no matching converter). It marks a build-time-recorded config injection that could not be satisfied at runtime startup.","triggerScenarios":"Thrown at extensions/arc/runtime/src/main/java/io/quarkus/arc/runtime/ConfigPropertyCreator.java:38 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Read the caused-by chain: it names the missing property key or the converter failure","Set the required property in application.properties or the environment at runtime","If the property is optional, annotate the injection point accordingly (Optional<T>, @WithDefault, or primitive defaults)"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e1c734241f34c7919086ceb4c9262b4a58f6de44","analyzedAt":"2026-09-05T17:01:29.979Z","contentChangedAt":"2026-09-05T17:01:29.979Z","schemaVersion":2},"datasetVersion":"2026-09-12T22:17:10.623Z"}