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

Nicolas Capponi
22.34.2016 c253da53e61e46b81b985c50e970fd29a4b865bc
opendj-server-legacy/src/main/java/org/opends/server/backends/task/Task.java
@@ -806,7 +806,7 @@
    // We cannot do task logging if the schema is either destroyed or
    // not initialized eg during in-core restart from Restart task.
    // Bailing out if there is no schema available saves us from NPE.
    if (DirectoryServer.getSchema() == null)
    if (getServerContext().getSchemaHandler() == null)
    {
      return;
    }