Emmanuel Lecharny created DIRSTUDIO-1030:
--------------------------------------------
Summary: We can't save a modified OpenLDAP configuration
Key: DIRSTUDIO-1030
URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1030
Project: Directory Studio
Issue Type: Bug
Components: OpenLDAP Config
Reporter: Emmanuel Lecharny
Fix For: 2.0.0-M9
When we modify the OpenLDAP config, we get an error :
{code}
org.apache.directory.studio.openldap.config.jobs.PartitionsDiffException:
org.apache.directory.api.ldap.model.exception.LdapOperationErrorException
at
org.apache.directory.studio.openldap.config.jobs.PartitionsDiffComputer.comparePartitions(PartitionsDiffComputer.java:290)
at
org.apache.directory.studio.openldap.config.jobs.PartitionsDiffComputer.computeModifications(PartitionsDiffComputer.java:96)
at
org.apache.directory.studio.openldap.config.jobs.PartitionsDiffComputer.computeModifications(PartitionsDiffComputer.java:87)
at
org.apache.directory.studio.openldap.config.editor.ServerConfigurationEditorUtils.saveConfiguration(ServerConfigurationEditorUtils.java:368)
at
org.apache.directory.studio.openldap.config.model.io.SaveConfigurationRunnable.run(SaveConfigurationRunnable.java:103)
at
org.apache.directory.studio.common.core.jobs.StudioJob.run(StudioJob.java:83)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by:
org.apache.directory.api.ldap.model.exception.LdapOperationErrorException
at
org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.lookup(AbstractBTreePartition.java:1184)
at
org.apache.directory.studio.openldap.config.jobs.PartitionsDiffComputer.comparePartitions(PartitionsDiffComputer.java:163)
... 6 more
Caused by:
org.apache.directory.api.ldap.model.exception.LdapOperationErrorException
at
org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.saveContextCsn(AbstractBTreePartition.java:3364)
at
org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.lookup(AbstractBTreePartition.java:1180)
... 7 more
Caused by:
org.apache.directory.api.ldap.model.exception.LdapOperationErrorException
at
org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.fetch(AbstractBTreePartition.java:1217)
at
org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.saveContextCsn(AbstractBTreePartition.java:3348)
... 8 more
Caused by: java.lang.NullPointerException
at
org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.buildEntryDn(AbstractBTreePartition.java:2347)
at
org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.fetch(AbstractBTreePartition.java:1211)
... 9 more
{code}
This is due to the un-initialized {{ehCache}}, so every associated cache are
null.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)