if (emptyList) {
try {
List<CMSObject> retrievedObjects = accessor.getNodeByPath(cb.getQuery(), session);
cmsObjects = new ArrayList<DObject>();
for (CMSObject o : retrievedObjects) {
cmsObjects.add(adapter.wrapAsDObject(o));
}
} catch (RepositoryAccessException e) {
logger.warn("Error at processor", e);
logger.warn("Failed to obtain CMS Objects for query {}", cb.getQuery());
continue;