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

ludovicp
29.13.2008 efc90b52033fb37993e550d873d2bcf840f75507
Tagged with BUG possible null pointer dereferencing detected by FindBugs
1 files modified
2 ■■■■■ changed files
opends/src/server/org/opends/server/config/JMXMBean.java 2 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/config/JMXMBean.java
@@ -532,6 +532,7 @@
             new ASN1OctetString(configEntryDN.toString()),
             SearchScope.BASE_OBJECT, filter);
    }
    // BUG : op may be null
    ResultCode rc = op.getResultCode();
    if (rc != ResultCode.SUCCESS) {
       clientConnection = null ;
@@ -625,6 +626,7 @@
        new ASN1OctetString(configEntryDN.toString()),
        SearchScope.BASE_OBJECT, filter);
    }
    // BUG: op may be null
    ResultCode rc = op.getResultCode();
    if (rc != ResultCode.SUCCESS)
    {