Description
Attempt to use any partition type (other than JdbmPartition) will result in an NPE. There is a simple fix, cause is probably a typo.
See diff below:
$ svn diff apacheds/core/src/main/java/org/apache/directory/server/core/partition/DefaultPartitionNexus.java
Index: apacheds/core/src/main/java/org/apache/directory/server/core/partition/DefaultPartitionNexus.java
===================================================================
— apacheds/core/src/main/java/org/apache/directory/server/core/partition/DefaultPartitionNexus.java (revision 676079)
+++ apacheds/core/src/main/java/org/apache/directory/server/core/partition/DefaultPartitionNexus.java (working copy)
@@ -423,9 +423,9 @@
}
( ( JdbmPartition ) override ).setIndexedAttributes( indices );
-
- system = override;
}
+
+ system = override;
}
else
{