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

SingletonProvider may be incorrectly initialized with RegistrySingletonProvider

    Details

      Description

      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....

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mkouba Martin Kouba
                  Reporter:
                  mkouba Martin Kouba
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: