[jboss-jira] [JBoss JIRA] (WFLY-11734) Weld subsystem throws NPE deploying an application if transactions subsystem is missing

Yeray Borges (Jira) issues at jboss.org
Mon Feb 18 04:33:00 EST 2019


Yeray Borges created WFLY-11734:
-----------------------------------

             Summary: Weld subsystem throws NPE deploying an application if transactions subsystem is missing
                 Key: WFLY-11734
                 URL: https://issues.jboss.org/browse/WFLY-11734
             Project: WildFly
          Issue Type: Bug
          Components: CDI / Weld
    Affects Versions: 16.0.0.Beta1
            Reporter: Yeray Borges
            Assignee: Yeray Borges


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:


{noformat}
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"}}
{noformat}




--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list