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

abobrov
09.57.2009 d9ca5d290ab5638f917966b5b1081560ee63725b
- [Issue 3824] NPE if offline import is used with NDB backend : NPE plug

1 files modified
17 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/types/LDIFImportConfig.java 17 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/types/LDIFImportConfig.java
@@ -1338,15 +1338,18 @@
   */
  public void close()
  {
    try
    if (reader != null)
    {
      reader.close();
    }
    catch (Exception e)
    {
      if (debugEnabled())
      try
      {
        TRACER.debugCaught(DebugLogLevel.ERROR, e);
        reader.close();
      }
      catch (Exception e)
      {
        if (debugEnabled())
        {
          TRACER.debugCaught(DebugLogLevel.ERROR, e);
        }
      }
    }