Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9821

SingletonProvider may be incorrectly initialized with RegistrySingletonProvider

XMLWordPrintable

      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 deployments fail with java.lang.RuntimeException: SingletonProvider is already initialized....

              mkouba@redhat.com Martin Kouba
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: