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

kenneth_suter
11.03.2007 cdbc34e17d6e27a206ded5ad5ea8e3529b427d4b
Fixed NPE in launcher.  The problem is caused by the fact that the installer does not create a quickstart.CliApplication but rather relies on the server package for the installation.  I just added an NPE guard.
1 files modified
2 ■■■■■ changed files
opends/src/quicksetup/org/opends/quicksetup/Launcher.java 2 ●●●●● patch | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/Launcher.java
@@ -338,6 +338,7 @@
  }
  private void preExit(CliApplication cliApp) {
    if (cliApp != null) {
    UserData ud = cliApp.getUserData();
    if (ud != null && !ud.isSilent()) {
@@ -351,6 +352,7 @@
      }
    }
  }
  }
  /**
   * This class is used to avoid displaying the error message related to display