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