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

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

XMLWordPrintable

    • 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 master
      groovy -DEAP_VERSION=7.1.0.DR5 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#testStartStopLiveBackup  -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 master groovy -DEAP_VERSION=7.1.0.DR5 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#testStartStopLiveBackup -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.

            jondruse@redhat.com Jiri Ondrusek
            dtikhomi@redhat.com Dmitrii Tikhomirov
            Daniel Cihak Daniel Cihak
            Daniel Cihak Daniel Cihak
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: