JBM throws NPE during shutdown of EAP 5.2.0.ER6 server which is in cluster:
[JBoss] 06:52:28,148 INFO [ConnectionFactory] Connector bisocket://hp-dl360g5-02.rhts.eng.bos.redhat.com:4457 has leasing enabled, lease period 10000 milliseconds [JBoss] 06:52:28,149 INFO [a] New cluster view for partition a (id: 12, delta: -1) : [10.16.64.101:1099, 10.16.64.241:1099, 10.16.66.142:1099] [JBoss] 06:52:28,149 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@2e2c63c6 started [JBoss] 06:52:28,149 INFO [a] I am (10.16.64.101:1099) received membershipChanged event: [JBoss] 06:52:28,150 INFO [a] Dead members: 1 ([10.16.64.84:1099]) [JBoss] 06:52:28,150 INFO [a] New Members : 0 ([]) [JBoss] 06:52:28,151 INFO [a] All Members : 3 ([10.16.64.101:1099, 10.16.64.241:1099, 10.16.66.142:1099]) [JBoss] 06:52:28,154 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000 [JBoss] 06:52:28,158 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this. [JBoss] 06:52:28,214 INFO [ConnectionFactory] Connector bisocket://hp-dl360g5-02.rhts.eng.bos.redhat.com:4457 has leasing enabled, lease period 10000 milliseconds [JBoss] 06:52:28,214 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@459467a6 started [JBoss] 06:52:28,812 ERROR [ExceptionUtil] org.jboss.jms.server.connectionfactory.ConnectionFactory@558f4a8b startService [JBoss] java.lang.NullPointerException [JBoss] at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.removeReplicantLocally(MessagingPostOffice.java:2042) [JBoss] at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.remove(MessagingPostOffice.java:2331) [JBoss] at org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper.unregisterConnectionFactory(ConnectionFactoryJNDIMapper.java:295) [JBoss] at org.jboss.jms.server.connectionfactory.ConnectionFactory.stopService(ConnectionFactory.java:249) [JBoss] at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:405) [JBoss] at org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:281) [JBoss] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [JBoss] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [JBoss] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [JBoss] at java.lang.reflect.Method.invoke(Method.java:597) [JBoss] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [JBoss] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [JBoss] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138) [JBoss] at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) [JBoss] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140) [JBoss] at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) [JBoss] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) [JBoss] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) [JBoss] at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) [JBoss] at $Proxy38.stop(Unknown Source) [JBoss] at org.jboss.system.microcontainer.StartStopLifecycleAction.uninstallAction(StartStopLifecycleAction.java:56) [JBoss] at org.jboss.system.microcontainer.StartStopLifecycleAction.uninstallAction(StartStopLifecycleAction.java:37) [JBoss] at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleUninstallAction(SimpleControllerContextAction.java:79) [JBoss] at org.jboss.dependency.plugins.action.AccessControllerContextAction.uninstall(AccessControllerContextAction.java:131) [JBoss] at org.jboss.dependency.plugins.AbstractControllerContextActions.uninstall(AbstractControllerContextActions.java:58) [JBoss] at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354) [JBoss] at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1685) [JBoss] at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1295) [JBoss] at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1198) [JBoss] at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1254) [JBoss] at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1198) [JBoss] at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1254) [JBoss] at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1198) [JBoss] at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1254) [JBoss] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:831) [JBoss] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556) [JBoss] at org.jboss.system.ServiceController.doChange(ServiceController.java:688) [JBoss] at org.jboss.system.ServiceController.stop(ServiceController.java:510) [JBoss] at org.jboss.system.deployers.ServiceDeployer.stop(ServiceDeployer.java:170) [JBoss] at org.jboss.system.deployers.ServiceDeployer.undeploy(ServiceDeployer.java:150) [JBoss] at org.jboss.system.deployers.ServiceDeployer.undeploy(ServiceDeployer.java:46) [JBoss] at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalUndeploy(AbstractSimpleRealDeployer.java:69) [JBoss] at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.undeploy(AbstractRealDeployer.java:117) [JBoss] at org.jboss.deployers.plugins.deployers.DeployerWrapper.undeploy(DeployerWrapper.java:204) [JBoss] at org.jboss.deployers.plugins.deployers.DeployersImpl.doUndeploy(DeployersImpl.java:1484) [JBoss] at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1391) [JBoss] at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1384) [JBoss] at org.jboss.deployers.plugins.deployers.DeployersImpl.uninstall(DeployersImpl.java:1346) [JBoss] at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354) [JBoss] at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1685) [JBoss] at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1295) [JBoss] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:831) [JBoss] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556) [JBoss] at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:702) [JBoss] at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:676) [JBoss] at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) [JBoss] at org.jboss.system.server.profileservice.repository.ProfileDeployAction.uninstall(ProfileDeployAction.java:95) [JBoss] at org.jboss.system.server.profileservice.repository.AbstractProfileAction.uninstall(AbstractProfileAction.java:70) [JBoss] at org.jboss.system.server.profileservice.repository.AbstractProfileService.uninstall(AbstractProfileService.java:417) [JBoss] at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354) [JBoss] at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1685) [JBoss] at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1295) [JBoss] at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1198) [JBoss] at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1254) [JBoss] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:831) [JBoss] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556) [JBoss] at org.jboss.system.server.profileservice.repository.AbstractProfileService.deactivateProfile(AbstractProfileService.java:448) [JBoss] at org.jboss.system.server.profileservice.ProfileServiceBootstrap.deactivateProfiles(ProfileServiceBootstrap.java:381) [JBoss] at org.jboss.system.server.profileservice.ProfileServiceBootstrap.shutdown(ProfileServiceBootstrap.java:339) [JBoss] at org.jboss.bootstrap.AbstractServerImpl.shutdownServer(AbstractServerImpl.java:571) [JBoss] at org.jboss.bootstrap.AbstractServerImpl$ShutdownHook.run(AbstractServerImpl.java:909)
Method MessagingPostOffice.deInit() which sets variable replicatedData to null is probably called be before removeReplicantLocally().