Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1326

SpecializationAndEnablementRegistry does not support beans added in AfterBeanDiscovery phase

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 2.0.0.Beta3
    • Fix Version/s: 2.0.0.Beta4
    • Component/s: Extensions
    • Labels:
      None
    • Affects:
      Release Notes

      Description

      org.jboss.weld.tests.specialization.extension.bean.AfterBeanDiscoveryAddedBeanArchiveTest

      java.lang.IllegalStateException: org.jboss.weld.bootstrap.SpecializationAndEnablementRegistry.registerEnvironment() must not be called after specialization resolution begins       at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:464)
              at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:62)
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
              ... 3 more
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jharting Jozef Hartinger
                Reporter:
                jharting Jozef Hartinger
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: