+ " is supposed to be a directory");
}
try {
//EnvironmentPersistence.loadEnvironmentsFromDir(folder, false);
EnvironmentDAO loader = environmentDaoFactory.create(folder);
Collection<Environment> loaded = loader.load();
if (loaded == null) {
throw new IllegalStateException("Object data cannot be null at this stage");
}
for (Environment env : loaded) {