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

Patrick Diligent
11.47.2015 59d93924ab3a12ad4b7287a38ff771ae9babd389
OPENDJ-1969 CR-7206 fix NPE and trace logging of null connection
1 files modified
5 ■■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/core/IdleTimeLimitThread.java 5 ●●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/core/IdleTimeLimitThread.java
@@ -108,6 +108,11 @@
        {
          for (ClientConnection c : ch.getClientConnections())
          {
            if (c==null) {
              logger.trace("Null client connection found in \"" + ch.getConnectionHandlerName() + "\"");
              continue;
            }
            long idleTime = c.getIdleTime();
            if (idleTime > 0)
            {