opendj-server-legacy/src/test/java/org/opends/server/replication/GenerationIdTest.java
@@ -480,7 +480,7 @@ { debugInfo("Entry found <" + baseDN + ">"); AttributeType synchronizationGenIDType = DirectoryServer.getAttributeTypeOrNull(REPLICATION_GENERATION_ID); AttributeType synchronizationGenIDType = DirectoryServer.getAttributeType(REPLICATION_GENERATION_ID); Attribute attr = resultEntry.getExactAttribute(synchronizationGenIDType, new HashSet<String>()); return Long.valueOf(attr.iterator().next().toString()); }