if (image.getErrorInfo() != null) {
continue;
}
goodImages.add(image);
}
<BUG>final Map<T, Map<String, AbstractInstance>> groupedInstances = myConnector.fetchInstances(goodImages);
for (T image : goodImages) {</BUG>
Map<String, AbstractInstance> realInstances = groupedInstances.get(image);
if (realInstances == null){
realInstances = Collections.emptyMap();

if (image.getErrorInfo() != null) {
continue;
}
goodImages.add(image);
}
final Map<T, Map<String, AbstractInstance>> groupedInstances = myConnector.fetchInstances(goodImages);
groupedInstances.forEach((img, instMap)->{
LOG.debug(String.format("Instances for [%s]:[%s]", img.getId(), String.join(",", instMap.keySet())));
});
for (T image : goodImages) {
Map<String, AbstractInstance> realInstances = groupedInstances.get(image);
if (realInstances == null){
realInstances = Collections.emptyMap();
