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

(7.0.z) AMQ224000: Failure in initialisation: java.lang.NullPointerException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • 7.0.z.GA
    • 7.0.0.ER7
    • ActiveMQ
    • None
    • Hide

      We saw the issue in the end of DedicatedFailoverTestCase#testFailbackTransAckQueue test - 100% reproducer, note that test does not fail because of this NPE:

      git clone git://git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git
      cd eap-tests-hornetq/scripts/
      git checkout refactoring_modules
      groovy -DEAP_VERSION=7.0.0.ER7 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#testFailbackTransAckQueue  -DfailIfNoTests=false  -Deap=7x  | tee log
      # Check logs of server2 after the test for NPE
      
      Show
      We saw the issue in the end of DedicatedFailoverTestCase#testFailbackTransAckQueue test - 100% reproducer, note that test does not fail because of this NPE: git clone git: //git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git cd eap-tests-hornetq/scripts/ git checkout refactoring_modules groovy -DEAP_VERSION=7.0.0.ER7 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#testFailbackTransAckQueue -DfailIfNoTests= false -Deap=7x | tee log # Check logs of server2 after the test for NPE

      Sometimes when backup (dedicated topology with shared store) is cleanly shutdown at the end of the test following NPE is logged in server.log:

      14:27:52,399 ERROR [org.apache.activemq.artemis.core.server] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=41331b5f-ef92-11e5-ad11-49afc9fd4462) AMQ224000: Failure in initialisation: java.lang.NullPointerException
      	at org.apache.activemq.artemis.core.server.impl.SharedStoreBackupActivation$FailbackChecker.<init>(SharedStoreBackupActivation.java:198) [artemis-server-1.1.0.SP14-redhat-1.jar:1.1.0.SP14-redhat-1]
      	at org.apache.activemq.artemis.core.server.impl.SharedStoreBackupActivation.startFailbackChecker(SharedStoreBackupActivation.java:191) [artemis-server-1.1.0.SP14-redhat-1.jar:1.1.0.SP14-redhat-1]
      	at org.apache.activemq.artemis.core.server.impl.SharedStoreBackupActivation.run(SharedStoreBackupActivation.java:116) [artemis-server-1.1.0.SP14-redhat-1.jar:1.1.0.SP14-redhat-1]
      

      There was no such exception in previous ERs.

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

                Created:
                Updated:
                Resolved: