[ 
https://issues.apache.org/jira/browse/ARTEMIS-2050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16591308#comment-16591308
 ] 

ASF GitHub Bot commented on ARTEMIS-2050:
-----------------------------------------

GitHub user JiriOndrusek opened a pull request:

    https://github.com/apache/activemq-artemis/pull/2266

    [ARTEMIS-2050] It is possible to get AMQ224000: Failure in initialisa…

    …tion: java.lang.NullPointerException during shutdown of backup server with 
shared store
    
    Issue: https://issues.apache.org/jira/browse/ARTEMIS-2050
    
    Cherry-picked from f45a0c472833cddcbfa5725f299bb3a21956e53f

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/JiriOndrusek/activemq-artemis 
ARTEMIS-2050_backup_shutdown-NPE-1x

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/2266.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2266
    
----

----


> 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
>
> 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)

Reply via email to