directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu (JIRA)" <>
Subject [jira] Commented: (DIRSERVER-1180) NPE and hanging search request when using a filter with empty substring sequence
Date Tue, 27 May 2008 23:31:46 GMT


Alex Karasulu commented on DIRSERVER-1180:

The substring expression decoding is hung in this case.  It gets into a state it cannot recover
from it seems and the exception is not bubbled back up with an error response.  

I'd like to figure out how other servers behave in this case.  Using common sense I would
condense multiple sequential wildcards into a single wildcard then process.  The tricky part
here in this special case, is this heuristic will convert a substring filter AVA into a presence
AVA.  How this is handled in the code is going to be a little bit of a challenge.

> NPE and hanging search request when using a filter with empty substring sequence
> --------------------------------------------------------------------------------
>                 Key: DIRSERVER-1180
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.3, 1.5.2
>            Reporter: Stefan Seelmann
>            Priority: Blocker
> 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 [] - The
substring any filter is empty
> [00:22:01] WARN [$LdapProtocolHandler] - [/]
Unexpected exception from exceptionCaught handler.
> java.lang.NullPointerException: message
> 	at org.apache.mina.common.IoFilter$WriteRequest.<init>(
> 	at
> 	at
> 	at$LdapProtocolHandler.exceptionCaught(
> 	at$TailFilter.exceptionCaught(
> 	at
> 	at$1000(
> 	at$EntryImpl$1.exceptionCaught(
> 	at org.apache.mina.common.IoFilterAdapter.exceptionCaught(
> 	at
> 	at$1000(
> 	at$EntryImpl$1.exceptionCaught(
> 	at org.apache.mina.filter.executor.ExecutorFilter.processEvent(
> 	at org.apache.mina.filter.executor.ExecutorFilter$
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(
> 	at java.util.concurrent.ThreadPoolExecutor$
> 	at

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message