diff --git a/extensions/smallrye-context-propagation/runtime/src/main/java/io/quarkus/smallrye/context/runtime/SmallRyeContextPropagationRecorder.java b/extensions/smallrye-context-propagation/runtime/src/main/java/io/quarkus/smallrye/context/runtime/SmallRyeContextPropagationRecorder.java index 4955a2bbf54b7..876f215b933b6 100644 --- a/extensions/smallrye-context-propagation/runtime/src/main/java/io/quarkus/smallrye/context/runtime/SmallRyeContextPropagationRecorder.java +++ b/extensions/smallrye-context-propagation/runtime/src/main/java/io/quarkus/smallrye/context/runtime/SmallRyeContextPropagationRecorder.java @@ -23,6 +23,7 @@ import io.smallrye.context.SmallRyeContextManager; import io.smallrye.context.SmallRyeManagedExecutor; import io.smallrye.context.SmallRyeThreadContext; +import io.smallrye.context.impl.DefaultValues; /** * The runtime value service used to create values related to the MP-JWT services @@ -141,6 +142,7 @@ public void configureStaticInit(List discoveredProviders, noContextBuilder.withThreadContextProviders(new ThreadContextProvider[0]); noContextBuilder.withContextManagerExtensions(new ContextManagerExtension[0]); noContextBuilder.withDefaultExecutorService(NOPE_EXECUTOR_SERVICE); + noContextBuilder.withDefaultValues(DefaultValues.empty()); ContextManagerProvider.instance().registerContextManager(noContextBuilder.build(), null /* not used */); }