-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
2.0.1.Final
-
None
I've upgraded from Weld 1.1.13 to 2.0.1 and started getting:
org.jboss.weld.exceptions.IllegalStateException: WELD-001332 BeanManager method getBeans() is not available during application initialization at org.jboss.weld.bean.builtin.BeanManagerProxy.checkContainerValidated(BeanManagerProxy.java:144) at org.jboss.weld.bean.builtin.BeanManagerProxy.getBeans(BeanManagerProxy.java:82) at org.jboss.seam.solder.core.CoreExtension.failIfWeldExtensionsDetected(CoreExtension.java:247) at org.jboss.seam.solder.core.CoreExtension.afterBeanDiscovery(CoreExtension.java:238) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:93) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:274) at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:121) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:261) at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:240) at org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:171) at org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:130) at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:104) at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:63) at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:35) at org.jboss.weld.bootstrap.events.AfterBeanDiscoveryImpl.fire(AfterBeanDiscoveryImpl.java:58) at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:516) at org.jboss.weld.bootstrap.api.helpers.ForwardingBootstrap.deployBeans(ForwardingBootstrap.java:63) at org.jboss.weld.environment.se.Weld.initialize(Weld.java:143) at org.jboss.jawabot.JawaBotApp.main(JawaBotApp.java:74) at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:37) at org.jboss.weld.bootstrap.events.AfterBeanDiscoveryImpl.fire(AfterBeanDiscoveryImpl.java:58) at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:516) at org.jboss.weld.bootstrap.api.helpers.ForwardingBootstrap.deployBeans(ForwardingBootstrap.java:63) at org.jboss.weld.environment.se.Weld.initialize(Weld.java:143)
As apparent from the stacktrace, there's no my code directly involved.
- duplicates
-
WELD-1433 Introduce non-portable SPI mode
- Resolved