opendj-server-legacy/src/main/java/org/opends/server/api/CompressedSchema.java
@@ -513,7 +513,7 @@ private AttributeDescription loadAttributeToMaps(final int id, final String attributeName, final Iterable<String> attributeOptions, final Mappings mappings) { final AttributeType type = DirectoryServer.getAttributeType(attributeName); final AttributeType type = DirectoryServer.getSchema().getAttributeType(attributeName); final Set<String> options = getOptions(attributeOptions); final AttributeDescription ad = AttributeDescription.create(type, options); exclusiveLock.lock();