You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2007/04/21 13:12:17 UTC

[jira] Closed: (DIRSERVER-371) search fails if exists

     [ https://issues.apache.org/jira/browse/DIRSERVER-371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny closed DIRSERVER-371.
---------------------------------------


Closing all issues created in 2005 and before which are marked resolved

> search fails if exists
> ----------------------
>
>                 Key: DIRSERVER-371
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-371
>             Project: Directory ApacheDS
>          Issue Type: Bug
>         Environment: Java 5, Linux
>            Reporter: Mark Swanson
>         Assigned To: Alex Karasulu
>            Priority: Blocker
>
> searching on non-existent entries works (they are not found, appropriate Exception thrown).
> Searching on an existent entry fails with:
> javax.naming.NamingException: [LDAP: error code 33 - failed on search operation:
> org.apache.ldap.common.message.SearchRequestImpl@1ca7841
> javax.naming.NamingException: OID for name 'Person' was not found within the OID registry
>         at org.apache.eve.schema.GlobalOidRegistry.getOid(GlobalOidRegistry.java:161)
>         at org.apache.eve.schema.GlobalAttributeTypeRegistry.lookup(GlobalAttributeTypeRegistry.java:135)
>         at org.apache.eve.jndi.ibs.SchemaService$BinaryAttributeFilter.doFilter(SchemaService.java:161)
>         at org.apache.eve.jndi.ibs.SchemaService$BinaryAttributeFilter.accept(SchemaService.java:204)
>         at org.apache.eve.jndi.ibs.FilterServiceImpl.accept(FilterServiceImpl.java:228)
>         at org.apache.eve.jndi.ibs.FilterServiceImpl.access$0(FilterServiceImpl.java:219)
>         at org.apache.eve.jndi.ibs.FilterServiceImpl$2.accept(FilterServiceImpl.java:193)
>         at org.apache.eve.db.ResultFilteringEnumeration.prefetch(ResultFilteringEnumeration.java:255)
>         at org.apache.eve.db.ResultFilteringEnumeration.<init>(ResultFilteringEnumeration.java:89)
>         at org.apache.eve.jndi.ibs.FilterServiceImpl.search(FilterServiceImpl.java:186)
>         at org.apache.eve.jndi.BaseInterceptor.invoke(BaseInterceptor.java:173)
>         at org.apache.eve.jndi.FailFastPipeline.invoke(FailFastPipeline.java:62)
>         at org.apache.eve.jndi.EveJndiProvider.invoke(EveJndiProvider.java:283)
>         at $Proxy0.search(Unknown Source)
>         at org.apache.eve.jndi.EveDirContext.search(EveDirContext.java:546)
>         at org.apache.eve.jndi.EveDirContext.search(EveDirContext.java:498)
>         at org.apache.eve.protocol.SearchHandler.handle(SearchHandler.java:109)
>         at org.apache.seda.protocol.DefaultRequestProcessor.reply(DefaultRequestProcessor.java:133)
>         at org.apache.seda.protocol.DefaultRequestProcessor.access$200(DefaultRequestProcessor.java:44)
>         at org.apache.seda.protocol.DefaultRequestProcessor$ProcessorStageHandler.handleEvent(DefaultRequestProcessor.java:207)
>         at org.apache.seda.stage.DefaultStage$ExecutableHandler.run(DefaultStage.java:311)
>         at org.apache.seda.thread.AbstractThreadPool$AbstractWorker.run(AbstractThreadPool.java:202)
> ]; remaining name 'cn=a b,ou=super,ou=contacts,uid=6760'
>         at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2965)
>         at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2931)
>         at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2737)
>         at com.sun.jndi.ldap.LdapCtx.c_getAttributes(LdapCtx.java:1291)
>         at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(ComponentDirContext.java:213)
>         at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(PartialCompositeDirContext.java:121)
>         at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(PartialCompositeDirContext.java:109)
>         at javax.naming.directory.InitialDirContext.getAttributes(InitialDirContext.java:123)
>         at javax.naming.directory.InitialDirContext.getAttributes(InitialDirContext.java:118)
>         at com.wss.ldap.LDAPHelper.modifyContact(LDAPHelper.java:183)

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