-
Bug
-
Resolution: Done
-
Major
-
16.0.0.Beta1
-
None
-
- Provision a server with CDI without transactions
- Deploy a CDI application
The reproduction is pretty simple using Galleon. If we generate a server provisioned only with CDI and try to deploy a simple CDI application, we will get the following exception:
09:29:27,420 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.deployment.unit."cdi-test-1.0.war".WeldBootstrapService: org.jboss.msc.service.StartException in service jboss.deployment.unit."cdi-test-1.0.war".WeldBootstrapService: Failed to start service at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1730) at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1558) at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1363) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NullPointerException at org.jboss.as.weld.WeldBootstrapService.start(WeldBootstrapService.java:127) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1738) at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1700) ... 6 more 09:29:27,424 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "cdi-test-1.0.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"cdi-test-1.0.war\".WeldBootstrapService" => "Failed to start service Caused by: java.lang.NullPointerException"}}