Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1180

NPE and hanging search request when using a filter with empty substring sequence

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.5.2, 1.5.3
    • 1.5.3
    • None
    • None

    Description

      When starting a search request using the seachfilter (cn=**) the request lasts forever. I testet with JNDI and ldapsearch command.

      Here is the server log:

      [00:22:01] ERROR [org.apache.directory.shared.ldap.codec.actions.StoreAnyAction] - The substring any filter is empty
      [00:22:01] WARN [org.apache.directory.server.ldap.LdapServer$LdapProtocolHandler] - [/127.0.0.1:47315] Unexpected exception from exceptionCaught handler.
      java.lang.NullPointerException: message
      at org.apache.mina.common.IoFilter$WriteRequest.<init>(IoFilter.java:333)
      at org.apache.mina.common.support.BaseIoSession.write(BaseIoSession.java:177)
      at org.apache.mina.common.support.BaseIoSession.write(BaseIoSession.java:168)
      at org.apache.directory.server.ldap.LdapServer$LdapProtocolHandler.exceptionCaught(LdapServer.java:1104)
      at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.exceptionCaught(AbstractIoFilterChain.java:564)
      at org.apache.mina.common.support.AbstractIoFilterChain.callNextExceptionCaught(AbstractIoFilterChain.java:345)
      at org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:53)
      at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.exceptionCaught(AbstractIoFilterChain.java:643)
      at org.apache.mina.common.IoFilterAdapter.exceptionCaught(IoFilterAdapter.java:75)
      at org.apache.mina.common.support.AbstractIoFilterChain.callNextExceptionCaught(AbstractIoFilterChain.java:345)
      at org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:53)
      at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.exceptionCaught(AbstractIoFilterChain.java:643)
      at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:224)
      at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:636)

      Attachments

        Activity

          People

            elecharny Emmanuel Lécharny
            seelmann Stefan Seelmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: