-
Quality Risk
-
Resolution: Done
-
Major
-
None
-
None
https://github.com/LightGuard/seam-example-confbuzz
Attempt to build and deploy the above sample application to any recent AS7 instance. Weld fails to boot with a NullPointerException.
11:05:06,820 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."confbuzz-1.0.0-SNAPSHOT.war".component.EjbSynchronizationsDelegate.WeldInstantiator: org.jboss.msc.service.StartException in service jboss.deployment.unit."confbuzz-1.0.0-SNAPSHOT.war".component.EjbSynchronizationsDelegate.WeldInstantiator: Failed to start service at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1736) at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2302) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24] at java.lang.Thread.run(Thread.java:680) [:1.6.0_24] Caused by: java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768) [:1.6.0_24] at org.jboss.weld.manager.BeanManagerImpl.getBean(BeanManagerImpl.java:1209) at org.jboss.as.weld.injection.WeldManagedReferenceFactory.start(WeldManagedReferenceFactory.java:119) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1715) ... 4 more
I believe this is a potential bug in the Weld integration, or maybe in Weld itself, but this just shows up on AS7, so not really sure. Starting here.