directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juanlu Hidalgo (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRAPI-17) Problem when we do a search with a filter with "*" in the start or in the end of a expression with wildcards chars like for example filter (uid=*se*).
Date Thu, 10 Jun 2010 18:00:25 GMT

    [ https://issues.apache.org/jira/browse/DIRAPI-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877509#action_12877509
] 

Juanlu Hidalgo commented on DIRAPI-17:
--------------------------------------

This is the error:

Caused by: java.lang.NullPointerException
  at org.apache.directory.shared.ldap.codec.search.SubstringFilter.encode(SubstringFilter.java:306)
  at org.apache.directory.shared.ldap.codec.search.ConnectorFilter.encode(ConnectorFilter.java:144)
  at org.apache.directory.shared.ldap.codec.search.AndFilter.encode(AndFilter.java:120)
  at org.apache.directory.shared.ldap.codec.search.SearchRequestCodec.encodeProtocolOp(SearchRequestCodec.java:583)
  at org.apache.directory.shared.ldap.codec.LdapMessageCodec.encode(LdapMessageCodec.java:386)
  at org.apache.directory.ldap.client.api.protocol.LdapProtocolEncoder.encode(LdapProtocolEncoder.java:51)
  at org.apache.mina.filter.codec.ProtocolCodecFilter.filterWrite(ProtocolCodecFilter.java:298)

On the other hand when we do the search in Apache Directory Studio the filter works fine.

> Problem when we do a search with a filter with "*" in the start or in the end of a expression
with wildcards chars like for example filter (uid=*se*).
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DIRAPI-17
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-17
>             Project: Directory client API
>          Issue Type: Bug
>            Reporter: Juanlu Hidalgo
>


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


Mime
View raw message