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

NullPointerException while performing Replication from Master to Slave

    Details

    • Type: Bug
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: AMQ 7.5.0.GA
    • Fix Version/s: None
    • Component/s: broker-core
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Occurs on startup of broker with given store.

      Show
      Occurs on startup of broker with given store.

      Description

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

        Gliffy Diagrams

          Attachments

          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

            Activity

              People

              • Assignee:
                jbertram Justin Bertram
                Reporter:
                rdorobek Russell Dorobek
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: