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

Ludovic Poitou
14.41.2011 13bb53487f80199c600ef22300eb77d1b57bc12c
Fix potential NPE
1 files modified
3 ■■■■ changed files
opends/src/server/org/opends/server/backends/jeb/EntryContainer.java 3 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/EntryContainer.java
@@ -1991,7 +1991,8 @@
          EntryID entryID = new EntryID(data);
          // Invoke any subordinate delete plugins on the entry.
          if (!deleteOperation.isSynchronizationOperation())
          if ((deleteOperation != null) &&
              !deleteOperation.isSynchronizationOperation())
          {
            Entry subordinateEntry = id2entry.get(
                    txn, entryID, LockMode.DEFAULT);