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

[QE](7.0.z) JMS Server Manager error: java.lang.NullPointerException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.0.0.DR11, 7.0.0.ER4, 7.0.0.ER7
    • ActiveMQ
    • None

      There is NPE in log of EAP 7.0.0.DR11/Widfly 10CR2 with Artemis configured as dedicated backup server during clean shutdown. It happens after failover test where live is killed and started again to check that failback is executed correctly.
      NPE is thrown in the moment when live is cleanly shutdowned and clean shutdown is called on backup. I'm attaching info+trace logs from both of the servers.

      12:24:27,402 WARN  [org.apache.activemq.artemis.jms.server] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=20324ebb-6b7d-11e5-8e1e-030f0cb780cc) AMQ122012: JMS Server Manager error: java.lang.NullPointerException
      	at org.apache.activemq.artemis.jms.server.impl.JMSServerManagerImpl.shutdownConnectionFactory(JMSServerManagerImpl.java:1210) [artemis-jms-server-1.1.0.jar:1.1.0]
      	at org.apache.activemq.artemis.jms.server.impl.JMSServerManagerImpl$6.runException(JMSServerManagerImpl.java:1187) [artemis-jms-server-1.1.0.jar:1.1.0]
      	at org.apache.activemq.artemis.jms.server.impl.JMSServerManagerImpl$WrappedRunnable.run(JMSServerManagerImpl.java:1541) [artemis-jms-server-1.1.0.jar:1.1.0]
      	at org.apache.activemq.artemis.jms.server.impl.JMSServerManagerImpl.activated(JMSServerManagerImpl.java:193) [artemis-jms-server-1.1.0.jar:1.1.0]
      	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.callActivateCallbacks(ActiveMQServerImpl.java:1371) [artemis-server-1.1.0.jar:1.1.0]
      	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(ActiveMQServerImpl.java:1556) [artemis-server-1.1.0.jar:1.1.0]
      	at org.apache.activemq.artemis.core.server.impl.SharedStoreBackupActivation.run(SharedStoreBackupActivation.java:85) [artemis-server-1.1.0.jar:1.1.0]
      	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_60]
      

            rh-ee-ataylor Andy Taylor
            mnovak1@redhat.com Miroslav Novak
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: