quarkusio/quarkus · error · DeploymentException

io.quarkus.runtime.DeploymentException wrapping the config v

Error message

io.quarkus.runtime.DeploymentException wrapping the config value resolution failure (no own message)

What it means

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.

Source

Thrown at extensions/arc/runtime/src/main/java/io/quarkus/arc/runtime/ConfigPropertyCreator.java:38

        }

        try {
            Class.forName(requiredType, true, cl);
        } catch (ClassNotFoundException e) {
            throw new IllegalStateException("Cannot load required type: " + requiredType);
        }

        InjectionPoint injectionPoint = InjectionPointProvider.getCurrent(context);
        if (injectionPoint == null) {
            throw new IllegalStateException("No current injection point found");
        }

        ConfigStaticInitCheckInterceptor.recordConfigValue(injectionPoint, null);

        try {
            return ConfigProducerUtil.getValue(injectionPoint, ConfigProvider.getConfig());
        } catch (Exception e) {
            throw new DeploymentException(e);
        }
    }
}

View on GitHub (pinned to e1c734241f)

Solutions

  1. Read the caused-by chain: it names the missing property key or the converter failure
  2. Set the required property in application.properties or the environment at runtime
  3. If the property is optional, annotate the injection point accordingly (Optional<T>, @WithDefault, or primitive defaults)
Defensive patterns

Strategy: try-catch

When it happens

Trigger: Thrown at extensions/arc/runtime/src/main/java/io/quarkus/arc/runtime/ConfigPropertyCreator.java:38 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of quarkusio/quarkus@e1c734241f (2026-09-05). Data as JSON: /api/errors/7211f566bceeb4b7. Report an issue: GitHub.