Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-1905

[Artemis upgrade] NPE Unable to create management notification address

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • None
    • broker-core
    • None
    • Hide

      The test passes even if the issue is present. You have to check server logs whether the issue is present or not.

      git clone git://git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git
      cd eap-tests-hornetq/scripts/
      git checkout eap7.2.x-artemis2.x-ha-jdbc
      groovy -DEAP_ZIP_URL=... PrepareServers7.groovy
      export WORKSPACE=$PWD
      export JBOSS_HOME_1=$WORKSPACE/server1/jboss-eap
      export JBOSS_HOME_2=$WORKSPACE/server2/jboss-eap
      export JBOSS_HOME_3=$WORKSPACE/server3/jboss-eap
      export JBOSS_HOME_4=$WORKSPACE/server4/jboss-eap
      
      cd ../jboss-hornetq-testsuite/
      
      mvn clean test -Dtest=DedicatedFailoverTestCase#testMultipleFailoverWithQueueShutdown -Deap7.org.jboss.qa.hornetq.apps.clients.version=7.1533784013-SNAPSHOT -DfailIfNoTests=false -Deap=7x | tee log
      
      Show
      The test passes even if the issue is present. You have to check server logs whether the issue is present or not. git clone git: //git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git cd eap-tests-hornetq/scripts/ git checkout eap7.2.x-artemis2.x-ha-jdbc groovy -DEAP_ZIP_URL=... PrepareServers7.groovy export WORKSPACE=$PWD export JBOSS_HOME_1=$WORKSPACE/server1/jboss-eap export JBOSS_HOME_2=$WORKSPACE/server2/jboss-eap export JBOSS_HOME_3=$WORKSPACE/server3/jboss-eap export JBOSS_HOME_4=$WORKSPACE/server4/jboss-eap cd ../jboss-hornetq-testsuite/ mvn clean test -Dtest=DedicatedFailoverTestCase#testMultipleFailoverWithQueueShutdown -Deap7.org.jboss.qa.hornetq.apps.clients.version=7.1533784013-SNAPSHOT -DfailIfNoTests= false -Deap=7x | tee log
    • AMQ Sprint 3219

    Description

      Scenario

      • There are two Wildfly servers configured in messaging dedicated shared store HA topology
      • Live server is several times killed and restarted
      • Test checks that clients do failover/failback

      When the backup server gets activated it logs several NullPointerExceptions.

      09:21:30,985 WARN  [org.apache.activemq.artemis.core.server] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=4bac7aa0-9ec9-11e8-86b6-cc3d825f79a4) AMQ222270: Unable to create management notification address: activemq.notifications: java.lang.NullPointerException
              at org.apache.activemq.artemis.core.server.management.impl.ManagementServiceImpl$1.activated(ManagementServiceImpl.java:553) [artemis-server-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
              at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.callActivateCallbacks(ActiveMQServerImpl.java:2220) [artemis-server-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
              at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(ActiveMQServerImpl.java:2455) [artemis-server-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
              at org.apache.activemq.artemis.core.server.impl.SharedStoreBackupActivation.run(SharedStoreBackupActivation.java:90) [artemis-server-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
              at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$ActivationThread.run(ActiveMQServerImpl.java:3236) [artemis-server-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
      

      The NPE has not functional impact in our scenario but it can have in different scenarios.
      Blocker priority was chosen because this is regression against WF 13.

      Attachments

        Issue Links

          Activity

            People

              mtaylor1@redhat.com Martyn Taylor (Inactive)
              mnovak1@redhat.com Miroslav Novak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: