opends/src/statuspanel/org/opends/statuspanel/ui/LoginDialog.java
@@ -327,10 +327,9 @@ public Object processBackgroundTask() throws NamingException { Boolean isServerRunning = Boolean.TRUE; InitialLdapContext ctx = null; try { InitialLdapContext ctx = null; String ldapUrl = getLDAPURL(); if (ldapUrl != null) @@ -369,6 +368,16 @@ { throw new IllegalStateException("Unexpected throwable.", t); } if (ctx != null) { try { ctx.close(); } catch (Throwable t) { } } return isServerRunning; }