Fix NPE in ClusterCommunicationManager exception handling

Change-Id: I4dd3c6aeb3150e117e2ba414c8d2a58adef79170
(cherry picked from commit 7b3830bef35b703ba411684f1f10c291d5a22f61)
This commit is contained in:
Jordan Halterman 2018-06-18 17:44:48 -07:00
parent 4f55c67c98
commit e76f0c8559

View File

@ -278,7 +278,7 @@ public class ClusterCommunicationManager implements ClusterCommunicationService
return result;
} catch (Exception e) {
context.stop(e);
Throwables.throwIfUnchecked(e.getCause());
Throwables.throwIfUnchecked(Throwables.getRootCause(e));
throw new IllegalStateException(e.getCause());
}
}