Martin Kouba created WFLY-9821:
----------------------------------
Summary: SingletonProvider may be incorrectly initialized with
RegistrySingletonProvider
Key: WFLY-9821
URL:
https://issues.jboss.org/browse/WFLY-9821
Project: WildFly
Issue Type: Bug
Components: CDI / Weld
Affects Versions: 11.0.0.Final
Reporter: Martin Kouba
Assignee: Martin Kouba
If a non-CDI deployment (contains no beans.xml nor a bean with a bean defining annotation
nor a session bean) attempts to access the CDI container using {{CDI.current()}} before
{{TCCLSingletonService}} is started (and
{{org.jboss.weld.bootstrap.api.SingletonProvider}} initialized with
{{ModuleGroupSingletonProvider}}) then {{SingletonProvider}} is incorrectly initialized
with the default impl ({{RegistrySingletonProvider}}). As a result,
subsequent CDI deployment fail with {{java.lang.RuntimeException: SingletonProvider is
already initialized...}}.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)