opendj-server-legacy/src/main/java/org/opends/server/tasks/SetGenerationIdTask.java
@@ -79,7 +79,7 @@ // Retrieves the eventual generation-ID AttributeType typeNewValue = getAttributeTypeOrDefault(ATTR_TASK_SET_GENERATION_ID_NEW_VALUE); List<Attribute> attrList = taskEntry.getAttribute(typeNewValue); if (attrList != null && !attrList.isEmpty()) if (!attrList.isEmpty()) { try {