ARTEMIS-347 Fixing NPE

This commit is contained in:
Clebert Suconic 2016-01-19 23:14:47 -05:00
parent 2d4654ca26
commit 0a9a6c92f4
1 changed files with 1 additions and 1 deletions

View File

@ -377,7 +377,7 @@ public final class ClusterConnectionConfiguration implements Serializable {
return list.toArray(new TransportConfiguration[list.size()]);
}
else {
return configuration.getTransportConfigurations(staticConnectors);
return staticConnectors != null ? configuration.getTransportConfigurations(staticConnectors) : null;
}
}