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

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

1 files modified
17 ■■■■■ changed files
opends/src/server/org/opends/server/types/LDIFImportConfig.java 17 ●●●●● patch | view | raw | blame | history
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);
        }
      }
    }