mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-12-12 21:01:27 +01:00
Fix NPE in ClusterCommunicationManager exception handling
Change-Id: I4dd3c6aeb3150e117e2ba414c8d2a58adef79170 (cherry picked from commit 7b3830bef35b703ba411684f1f10c291d5a22f61)
This commit is contained in:
parent
4f55c67c98
commit
e76f0c8559
@ -278,7 +278,7 @@ public class ClusterCommunicationManager implements ClusterCommunicationService
|
|||||||
return result;
|
return result;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
context.stop(e);
|
context.stop(e);
|
||||||
Throwables.throwIfUnchecked(e.getCause());
|
Throwables.throwIfUnchecked(Throwables.getRootCause(e));
|
||||||
throw new IllegalStateException(e.getCause());
|
throw new IllegalStateException(e.getCause());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user