[ https://issues.apache.org/jira/browse/ARTEMIS-3755?focusedWorklogId=760498&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-760498 ]
ASF GitHub Bot logged work on ARTEMIS-3755: ------------------------------------------- Author: ASF GitHub Bot Created on: 21/Apr/22 22:55 Start Date: 21/Apr/22 22:55 Worklog Time Spent: 10m Work Description: clebertsuconic merged PR #4007: URL: https://github.com/apache/activemq-artemis/pull/4007 Issue Time Tracking ------------------- Worklog Id: (was: 760498) Remaining Estimate: 0h Time Spent: 10m > Mitigate NPE related to fail-back > --------------------------------- > > Key: ARTEMIS-3755 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3755 > Project: ActiveMQ Artemis > Issue Type: Bug > Reporter: Justin Bertram > Assignee: Justin Bertram > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > When configuring HA _without_ a {{cluster-connection}} this NPE is thrown on > the backup when the it becomes live: > {noformat} > INFO [org.apache.activemq.artemis.core.server] AMQ221010: Backup Server is > now live > ERROR [org.apache.activemq.artemis.core.server] AMQ224000: Failure in > initialisation: java.lang.NullPointerException > at > org.apache.activemq.artemis.core.server.impl.SharedStoreBackupActivation$FailbackChecker.<init>(SharedStoreBackupActivation.java:256) > at > org.apache.activemq.artemis.core.server.impl.SharedStoreBackupActivation.startFailbackChecker(SharedStoreBackupActivation.java:248) > at > org.apache.activemq.artemis.core.server.impl.SharedStoreBackupActivation.run(SharedStoreBackupActivation.java:138) > at > org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$ActivationThread.run(ActiveMQServerImpl.java:4271){noformat} > HA without a {{cluster-connection}} is an invalid configuration, but it still > shouldn't thrown an NPE. It should log a WARN instead. -- This message was sent by Atlassian Jira (v8.20.7#820007)