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

NullPointerException while performing Replication from Master to Slave

XMLWordPrintable

      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:]
      

              dbruscin Domenico Francesco Bruscino
              dbruscin Domenico Francesco Bruscino
              Tiago Bueno Tiago Bueno
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: