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

SpecializationAndEnablementRegistry does not support beans added in AfterBeanDiscovery phase

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 2.0.0.Beta4
    • 2.0.0.Beta3
    • Extensions
    • None
    • Release Notes

      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
      

              rhn-engineering-jharting Jozef Hartinger
              rhn-engineering-jharting Jozef Hartinger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: