opendj-server-legacy/src/main/java/org/opends/server/backends/task/TaskScheduler.java
@@ -1804,7 +1804,7 @@ throws DirectoryException { // Get the name of the class that implements the task logic. AttributeType attrType = DirectoryServer.getAttributeType(ATTR_TASK_CLASS.toLowerCase(), ATTR_TASK_CLASS); AttributeType attrType = DirectoryServer.getAttributeTypeOrDefault(ATTR_TASK_CLASS.toLowerCase(), ATTR_TASK_CLASS); List<Attribute> attrList = entry.getAttribute(attrType); if ((attrList == null) || attrList.isEmpty()) {