mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Ludovic Poitou
03.15.2013 aa334a65c7b7e5c885b9584662071dd52238a911
opendj-sdk/opends/src/ads/org/opends/admin/ads/TopologyCache.java
@@ -494,8 +494,13 @@
        int replicaId = -1;
        try
        {
          replicaId =
              new Integer(ConnectionUtils.getFirstValue(sr, "server-id"));
          String sid = ConnectionUtils.getFirstValue(sr, "server-id");
          if (sid == null)
          {
            // This is not a replica, but a replication server. Skip it
            continue;
          }
          replicaId = new Integer(sid);
        }
        catch (Throwable t)
        {