List<String> currentURIs = null;
if (cloudApplication != null) {
currentURIs = cloudApplication.getUris();
ApplicationStats applicationStats = appModule.getApplicationStats();
InstancesInfo instancesInfo = appModule.getInstancesInfo();
if (applicationStats != null) {
List<InstanceStats> statss = applicationStats.getRecords();
List<InstanceInfo> infos = instancesInfo != null ? instancesInfo.getInstances() : null;
InstanceStatsAndInfo[] statsAndInfos = new InstanceStatsAndInfo[statss.size()];
for (int i = 0; i < statss.size(); i++) {
InstanceStats stats = statss.get(i);
InstanceInfo info = null;