You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "clebert suconic (JIRA)" <ji...@apache.org> on 2015/06/04 02:12:38 UTC

[jira] [Closed] (ARTEMIS-102) NPE during shared store slave activation

     [ https://issues.apache.org/jira/browse/ARTEMIS-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

clebert suconic closed ARTEMIS-102.
-----------------------------------
    Resolution: Fixed

> NPE during shared store slave activation
> ----------------------------------------
>
>                 Key: ARTEMIS-102
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-102
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Jeff Mesnil
>             Fix For: 1.0.0
>
>
> Use case:
> * start a shared-store-master server with failover-on-server-shutdown=true
> * start a shared-store-slave server with scale-down enabled=false (scaleDownPolicy is not null though)
> * stop the master server, a NPE occurs during the slave activation:
> {noformat}
> 13:34:01,561 ERROR [org.apache.activemq.artemis.core.server] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=44846429-f7d1-11e4-a3b3-f15b1ddcb38d) AMQ224000: Failure in initialisation: java.lang.NullPointerException
>         at org.apache.activemq.artemis.core.server.impl.BackupRecoveryJournalLoader.postLoad(BackupRecoveryJournalLoader.java:93)
>         at org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager.loadMessageJournal(JournalStorageManager.java:1947)
>         at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.loadJournals(ActiveMQServerImpl.java:1977)
>         at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(ActiveMQServerImpl.java:1840)
>         at org.apache.activemq.artemis.core.server.impl.SharedStoreBackupActivation.run(SharedStoreBackupActivation.java:88)
>         at java.lang.Thread.run(Thread.java:745)
> {noformat}
> The NPE is caused by the slave's parentServer which is null.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)