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

pgamba
13.35.2008 26a24523a201ecf13aa576ac60767e67a81c5473
Fix potential NPE when computing monitor data
1 files modified
3 ■■■■■ changed files
opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java 3 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java
@@ -1572,6 +1572,8 @@
              // this is the latency of the remote RSi regarding another RSj
              // let's update the latency of the LSes connected to RSj
              ServerHandler rsjHdr = replicationServers.get(rsid);
              if (rsjHdr != null)
              {
              for(short remotelsid : rsjHdr.getConnectedServerIds())
              {
                Long newfmd = msg.getRSApproxFirstMissingDate(rsid);
@@ -1579,6 +1581,7 @@
              }
            }
          }
          }
          if (debugEnabled())
          {
            if (debugEnabled())