You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Juanlu Hidalgo (JIRA)" <ji...@apache.org> on 2010/06/10 20:00:25 UTC

[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*).

    [ 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.