"failed to unbind session properly" when searching Root DSE
-----------------------------------------------------------
Key: DIRSERVER-1187
URL: https://issues.apache.org/jira/browse/DIRSERVER-1187
Project: Directory ApacheDS
Issue Type: Bug
Components: core
Affects Versions: 1.5.3
Environment: Using OpenLDAP: ldapsearch -x -h localhost -p 10389 -s
base -b '' '(objectClass=*)' +
Reporter: Icky Dude
Fix For: 2.0.0
Though the root DSE is properly returned, I still get an error is still logged
resulting from the following stack trace for an LdapNameNotFoundException:
org.apache.directory.shared.ldap.exception.LdapNameNotFoundException:
org.apache.directory.server.core.partition.DefaultPartitionNexus.getPartition(DefaultPartitionNexus.java:1138)
org.apache.directory.server.core.partition.DefaultPartitionNexus.unbind(DefaultPartitionNexus.java:831)
org.apache.directory.server.core.interceptor.InterceptorChain$1.unbind(InterceptorChain.java:212)
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1361)
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:241)
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1361)
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:241)
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1361)
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:241)
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1361)
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:241)
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1361)
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:241)
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1361)
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:241)
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1361)
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:241)
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1361)
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:241)
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1361)
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:241)
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1361)
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:241)
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1361)
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:241)
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1361)
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:241)
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1361)
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:241)
org.apache.directory.server.core.interceptor.InterceptorChain.unbind(InterceptorChain.java:764)
org.apache.directory.server.core.partition.PartitionNexusProxy.unbind(PartitionNexusProxy.java:749)
org.apache.directory.server.core.partition.PartitionNexusProxy.unbind(PartitionNexusProxy.java:766)
org.apache.directory.server.core.jndi.ServerLdapContext.ldapUnbind(ServerLdapContext.java:237)
org.apache.directory.server.ldap.handlers.DefaultUnbindHandler.unbindMessageReceived(DefaultUnbindHandler.java:55)
org.apache.directory.server.ldap.handlers.UnbindHandler.messageReceived(UnbindHandler.java:38)
org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:141)
org.apache.directory.server.ldap.LdapServer$LdapProtocolHandler.messageReceived(LdapServer.java:1148)
org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(AbstractIoFilterChain.java:570)
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimpleProtocolDecoderOutput.java:58)
org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:180)
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:220)
org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
The problem is the call getPartition() with an empty LdapDN...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.