ARTEMIS-1752 - avoid null pointer in BridgeImpl
https://issues.apache.org/jira/browse/ARTEMIS-1752
This commit is contained in:
parent
d3b11bc439
commit
a1c76e8d61
|
@ -775,7 +775,9 @@ public class BridgeImpl implements Bridge, SessionFailureListener, SendAcknowled
|
|||
protected void fail(final boolean permanently) {
|
||||
logger.debug(this + "\n\t::fail being called, permanently=" + permanently);
|
||||
//we need to make sure we remove the node from the topology so any incoming quorum requests are voted correctly
|
||||
serverLocator.notifyNodeDown(System.currentTimeMillis(), targetNodeID);
|
||||
if (targetNodeID != null) {
|
||||
serverLocator.notifyNodeDown(System.currentTimeMillis(), targetNodeID);
|
||||
}
|
||||
if (queue != null) {
|
||||
try {
|
||||
if (logger.isTraceEnabled()) {
|
||||
|
|
Loading…
Reference in New Issue