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

jvergara
25.49.2007 82ed30ff863b5817759c1fcf0c4f12c221727060
Only seed the ads truststore when the ADS were not already replicated.  This avoids a NullPointerException when we enable replication on a baseDN between two servers and another baseDN was already being replicated.
1 files modified
3 ■■■■■ changed files
opendj-sdk/opends/src/guitools/org/opends/guitools/replicationcli/ReplicationCliMain.java 3 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/guitools/org/opends/guitools/replicationcli/ReplicationCliMain.java
@@ -3025,6 +3025,8 @@
          ERR_REPLICATION_UPDATING_ADS.get(adce.getMessage()),
          ERROR_UPDATING_ADS, adce);
    }
    if (!adsAlreadyReplicated)
    {
    try
    {
      ServerDescriptor.seedAdsTrustStore(ctxDestination,
@@ -3037,6 +3039,7 @@
          ERR_REPLICATION_ENABLE_SEEDING_TRUSTSTORE.get(t.toString()),
          ERROR_SEEDING_TRUSTORE, t);
    }
    }
    printProgressMessage(formatter.getFormattedDone());
    printProgressMessage(formatter.getLineBreak());