[jboss-jira] [JBoss JIRA] (WFLY-9821) SingletonProvider may be incorrectly initialized with RegistrySingletonProvider
Martin Kouba (JIRA)
issues at jboss.org
Tue Feb 13 11:19:01 EST 2018
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)
More information about the jboss-jira
mailing list