[
https://issues.apache.org/jira/browse/ARTEMIS-5150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17897910#comment-17897910
]
ASF subversion and git services commented on ARTEMIS-5150:
----------------------------------------------------------
Commit c8e3c0060a15d2a9b94f79f4ca377f0a75bb163f in activemq-artemis's branch
refs/heads/main from Howard Gao
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=c8e3c0060a ]
ARTEMIS-5150: ActiveMQServerControlImpl.getHAPolicy() gets NPE
When you start the broker without configuring HAPolicy, if clients
call this management api it'll get NPE because it doesn't check
if the HAPolicyConfiguration is null.
> ActiveMQServerControlImpl.getHAPolicy() gets NullPointerException
> -----------------------------------------------------------------
>
> Key: ARTEMIS-5150
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5150
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: management
> Affects Versions: 2.38.0
> Reporter: Howard Gao
> Assignee: Howard Gao
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h
> Remaining Estimate: 0h
>
> When you start the broker without configuring HAPolicy, if clients
> call this management api it'll get NPE because it doesn't check if the
> HAPolicyConfiguration is null.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact