opendj-server-legacy/src/main/java/org/opends/server/extensions/VirtualStaticGroup.java
@@ -107,7 +107,7 @@ // Get the target group DN attribute from the entry, if there is one. DN targetDN = null; AttributeType targetType = DirectoryServer.getAttributeType(ATTR_TARGET_GROUP_DN); AttributeType targetType = DirectoryServer.getSchema().getAttributeType(ATTR_TARGET_GROUP_DN); for (Attribute a : groupEntry.getAttribute(targetType)) { for (ByteString v : a)