[
https://issues.apache.org/jira/browse/ARTEMIS-2684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17078652#comment-17078652
]
ASF subversion and git services commented on ARTEMIS-2684:
----------------------------------------------------------
Commit 24c06015195eb1a67ff14163b3030653b8aeb6f0 in activemq-artemis's branch
refs/heads/master from brusdev
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=24c0601 ]
ARTEMIS-2684 NullPointer exception when slave tries to scale down
Check the parentServer before to access to its configuration and storageManager.
> NullPointer exception when slave tries to scale down
> ----------------------------------------------------
>
> Key: ARTEMIS-2684
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2684
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Affects Versions: 2.11.0
> Reporter: Domenico Bruscino
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Using the following configuration on the slave where master1-connector points
> to another broker in the broker cluster.
> {code:xml}
> <ha-policy>
> <shared-store>
> <slave>
> <failover-on-shutdown>true</failover-on-shutdown>
> <restart-backup>true</restart-backup>
> <scale-down>
> <connectors>
> <connector-ref>master1-connector</connector-ref>
> </connectors>
> </scale-down>
> </slave>
> </shared-store>
> </ha-policy>
> {code}
> I am getting the following NullPointerException when the slave tries to
> activate.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)