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

NullPointerException while performing Replication from Master to Slave

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • AMQ 7.5.0.GA
    • broker-core
    • None

      During startup of active/passive pair of broker with exisiting state of paged messages, primary fails to replicate and logs NullPointerException:

      2020-10-20 11:44:56,726 WARN [org.apache.activemq.artemis.core.server] AMQ222251: Unable to start replication: java.lang.NullPointerException
       at org.apache.activemq.artemis.core.paging.impl.PagingStoreImpl.sendPages(PagingStoreImpl.java:1196) [artemis-server-2.10.0.redhat-00004.jar:2.10.0.redhat-00004]
       at org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager.sendPagesToBackup(JournalStorageManager.java:800) [artemis-server-2.10.0.redhat-00004.jar:2.10.0.redhat-00004]
       at org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager.startReplication(JournalStorageManager.java:694) [artemis-server-2.10.0.redhat-00004.jar:2.10.0.redhat-00004]
       at org.apache.activemq.artemis.core.server.impl.SharedNothingLiveActivation$2.run(SharedNothingLiveActivation.java:178) [artemis-server-2.10.0.redhat-00004.jar:2.10.0.redhat-00004]
       at java.base/java.lang.Thread.run(Thread.java:834) [java.base:]
      
      2020-10-20 11:44:56,741 WARN [org.apache.activemq.artemis.core.server] AMQ222013: Error when trying to start replication: java.lang.NullPointerException
       at org.apache.activemq.artemis.core.paging.impl.PagingStoreImpl.sendPages(PagingStoreImpl.java:1196) [artemis-server-2.10.0.redhat-00004.jar:2.10.0.redhat-00004]
       at org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager.sendPagesToBackup(JournalStorageManager.java:800) [artemis-server-2.10.0.redhat-00004.jar:2.10.0.redhat-00004]
       at org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager.startReplication(JournalStorageManager.java:694) [artemis-server-2.10.0.redhat-00004.jar:2.10.0.redhat-00004]
       at org.apache.activemq.artemis.core.server.impl.SharedNothingLiveActivation$2.run(SharedNothingLiveActivation.java:178) [artemis-server-2.10.0.redhat-00004.jar:2.10.0.redhat-00004]
       at java.base/java.lang.Thread.run(Thread.java:834) [java.base:]
      

        1. artemis_backup.log.gz
          7 kB
        2. artemis_primary.log.2020-10-20.gz
          8.35 MB
        3. artemis_primary.log.gz
          622 kB
        4. broker.xml
          9 kB

              dbruscin Domenico Francesco Bruscino
              rdorobek@redhat.com Russell Dorobek
              Tiago Bueno Tiago Bueno
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: