Details

      Description

      After the JBEAP-12237/JBEAP-15816/WFLY-9954 changes, a layered product that includes the naming subsystem but not the ee subsystem will hit a NullPointerException when deploying a jar:

      03:48:16,932 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service jboss.deployment.unit."infinispan-server-testsuite-9.4.16.ER1-redhat-00001-tests.jar".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."infinispan-server-testsuite-9.4.16.ER1-redhat-00001-tests.jar".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment "infinispan-server-testsuite-9.4.16.ER1-redhat-00001-tests.jar"
      	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:151)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1738)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1700)
      	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:1985)
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.NullPointerException
      	at org.jboss.as.naming.deployment.JndiNamingDependencyProcessor.installComponentJndiAggregatingServices(JndiNamingDependencyProcessor.java:83)
      	at org.jboss.as.naming.deployment.JndiNamingDependencyProcessor.deploy(JndiNamingDependencyProcessor.java:67)
      	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:144)
      	... 8 more
      

      Adding the ee subsystem fixes the NullPointerException by making EEModuleInitialProcessor run before JndiNamingDependencyProcessor, but we would rather not include the ee subsystem in the RHDG Server.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tmiyar Teresa Miyar Gil
                  Reporter:
                  dan.berindei Dan Berindei
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: