Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-17524

WFLY-12472 - NullPointerException in JndiNamingDependencyProcessor

XMLWordPrintable

      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.

              rhn-support-tmiyargi Teresa Miyar Gil (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: