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