[
https://issues.apache.org/jira/browse/ARTEMIS-2050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16722758#comment-16722758
]
ASF GitHub Bot commented on ARTEMIS-2050:
-----------------------------------------
Github user JiriOndrusek closed the pull request at:
https://github.com/apache/activemq-artemis/pull/2265
> It is possible to get AMQ224000: Failure in initialisation:
> java.lang.NullPointerException during shutdown of backup server with shared
> store
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ARTEMIS-2050
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2050
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 1.5.5, 2.7.0
> Reporter: Jiri Ondrusek
> Priority: Major
> Fix For: 1.6.0, 2.7.0, 2.6.4
>
>
> On system with slower reactions, there could be a NullPointerException in log.
>
> Problem happens during shutdown of backup server during activation (using
> SharedStoreBackupActivation)
> Scenario: live/backup pair with shared store. Live is stopped and then backup
> is stopped before activation is complete. On slower machines, there is a
> possibility, that FailbackChecker is initialized even if cluster connection
> is cleared to null (because of shutting down). This ends with NPE during
> backup shutdown.
> It is possible to simulate it with SharedStoreBackupTest with addition of
> Thread.sleep(500) into begining of
> SharedStoreBackupActivation.startFailbackChecker. Exception can be then seen
> in test output.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)