directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <aok...@bellsouth.net>
Subject Re: Unable to add or modify
Date Sat, 11 Dec 2004 04:03:57 GMT
Mark Swanson wrote:

>I'm now using the latest svn, and no matter what my dn I can not add or modify 
>or search. Not a single operation that works with openLDAP works with eve 
>atm. Oh, I can log in to eve as admin and the partition seems to exist.
>
>More debugging info to come...
>
>
>  
>
Ok let's grok this.  To do that I am going to need the parameters of 
your search.  Or if you like you can just capture a tcp dump using 
Ethereal and send/attach those to the JIRA issue you have out there on 
this one.  I'll look at it asap.

Thanks,
Alex

>
>
>javax.naming.NamingException: [LDAP: error code 36 - failed on search 
>operation:
>org.apache.ldap.common.message.SearchRequestImpl@1cb52ae
>javax.naming.NamingException [Root exception is 
>java.lang.IllegalArgumentException: Argument 'an_obj1' is null]
>        at 
>org.apache.eve.jndi.EveJndiProvider.invoke(EveJndiProvider.java:239)
>        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)
>Caused by: java.lang.IllegalArgumentException: Argument 'an_obj1' is null
>        at 
>org.apache.ldap.common.util.BigIntegerComparator.compare(BigIntegerComparator.java:251)
>        at 
>org.apache.eve.db.IndexComparator$1.compare(IndexComparator.java:38)
>        at java.util.TreeMap.compare(TreeMap.java:1093)
>        at java.util.TreeMap.getEntry(TreeMap.java:347)
>        at java.util.TreeMap.containsKey(TreeMap.java:204)
>        at java.util.TreeSet.contains(TreeSet.java:196)
>        at org.apache.eve.db.jdbm.JdbmTable.has(JdbmTable.java:475)
>        at org.apache.eve.db.jdbm.JdbmIndex.hasValue(JdbmIndex.java:428)
>        at 
>org.apache.eve.db.LeafEvaluator.evalPresence(LeafEvaluator.java:240)
>        at org.apache.eve.db.LeafEvaluator.evaluate(LeafEvaluator.java:126)
>        at 
>org.apache.eve.db.ExpressionEvaluator.evaluate(ExpressionEvaluator.java:107)
>        at 
>org.apache.eve.db.ExpressionEnumerator$2.assertCandidate(ExpressionEnumerator.java:261)
>        at 
>org.apache.eve.db.IndexAssertionEnumeration.prefetch(IndexAssertionEnumeration.java:185)
>        at 
>org.apache.eve.db.IndexAssertionEnumeration.<init>(IndexAssertionEnumeration.java:73)
>        at 
>org.apache.eve.db.ExpressionEnumerator.enumConj(ExpressionEnumerator.java:274)
>        at 
>org.apache.eve.db.ExpressionEnumerator.enumerate(ExpressionEnumerator.java:136)
>        at 
>org.apache.eve.db.DefaultSearchEngine.search(DefaultSearchEngine.java:139)
>        at 
>org.apache.eve.AbstractContextPartition.search(AbstractContextPartition.java:296)
>        at org.apache.eve.RootNexus.search(RootNexus.java:321)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at 
>org.apache.eve.jndi.EveJndiProvider.invoke(EveJndiProvider.java:222)
>        ... 9 more
>]; remaining name 'cn=a b,ou=super,ou=contacts,uid=6732,dc=home2,dc=mark'
>
>(also tried)
>]; remaining name 'cn=a b,ou=super,ou=contacts,uid=6732'
>
>        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2961)
>        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:184)
>
>
>  
>


Mime
View raw message