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

NPE in initialization phase after failback

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.2.0.GA
    • 7.0.1.CR2
    • ActiveMQ
    • None
    • Hide
      git clone git://git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git
      cd eap-tests-hornetq/scripts/
      groovy -DEAP_ZIP_URL=file:///path/to/eap.zip 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
      
      export JOURNAL_DIRECTORY_A=$WORKSPACE/journal_A
      export JOURNAL_DIRECTORY_B=$WORKSPACE/journal_B
      export JOURNAL_DIRECTORY_C=$WORKSPACE/journal_C
      export JOURNAL_DIRECTORY_D=$WORKSPACE/journal_D
      
      cd ../jboss-hornetq-testsuite/
      
      mvn clean test -Dtest=ReplicatedColocatedClusterFailoverTestCase#testFailbackTransAckTopic -DfailIfNoTests=false -Deap=7x | tee log
      
      Show
      git clone git: //git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git cd eap-tests-hornetq/scripts/ groovy -DEAP_ZIP_URL=file: ///path/to/eap.zip 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 export JOURNAL_DIRECTORY_A=$WORKSPACE/journal_A export JOURNAL_DIRECTORY_B=$WORKSPACE/journal_B export JOURNAL_DIRECTORY_C=$WORKSPACE/journal_C export JOURNAL_DIRECTORY_D=$WORKSPACE/journal_D cd ../jboss-hornetq-testsuite/ mvn clean test -Dtest=ReplicatedColocatedClusterFailoverTestCase#testFailbackTransAckTopic -DfailIfNoTests= false -Deap=7x | tee log

    Description

      I see NPE in initialization phase after the failback in colocated replicated topology. The NPE is thrown from paging subsystem.

      14:16:30,501 ERROR [org.apache.activemq.artemis.core.server] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=null) AMQ224000: Failure in initialisation: java.lang.NullPointerException
              at org.apache.activemq.artemis.core.paging.cursor.impl.PageSubscriptionImpl.reloadPageCompletion(PageSubscriptionImpl.java:186) [artemis-server-1.1.0.SP17-redhat-1.jar:1.1.0.SP17-redhat-1]
              at org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager.loadMessageJournal(JournalStorageManager.java:1529) [artemis-server-1.1.0.SP17-redhat-1.jar:1.1.0.SP17-redhat-1]
              at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.loadJournals(ActiveMQServerImpl.java:1708) [artemis-server-1.1.0.SP17-redhat-1.jar:1.1.0.SP17-redhat-1]
              at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(ActiveMQServerImpl.java:1602) [artemis-server-1.1.0.SP17-redhat-1.jar:1.1.0.SP17-redhat-1]
              at org.apache.activemq.artemis.core.server.impl.SharedNothingBackupActivation.run(SharedNothingBackupActivation.java:333) [artemis-server-1.1.0.SP17-redhat-1.jar:1.1.0.SP17-redhat-1]
              at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_91]
      

      Customer impact: If aforementioned error araised, Artemis boot up process failed and the server need to be restarted. No data is lost.

      Attachments

        Issue Links

          Activity

            People

              rpelisse@redhat.com Romain Pelisse
              eduda_jira Erich Duda (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: