Collection<PropertySection> sections = cmrRepositoryDefinition.getCmrManagementService().getConfigurationPropertySections(); if (CollectionUtils.isEmpty(sections)) { throw new IllegalArgumentException("Can not create CMR Preference Manager because repository can not provide active properties.");