Issue #77 has been updated by Jonathan Clarke.
Cl?ment Oudot wrote: > I add a new comment here, because when using LQL (with ldap or srcLdap > objets), I have NPE errors because I have no context DN in my provide URL. As discussed on the mailing list, this is probably because using a context DN in the provider URL is obligatory. However, I also just commited a fix to the JavaScript interpreter code, which sometimes caused a NPE in case the JavaScript command returned nothing. Please test, and if you still have problems, feel free to open another new issue :) ---------------------------------------- Bug #77: baseDn last character is removed when no context DN is given in provider.url http://tools.lsc-project.org/issues/show/77 Author: Cl?ment Oudot Status: Closed Priority: Normal Assigned to: Jonathan Clarke Category: Core Target version: 1.1.0 Hello, I use provider.url without DN, and a base search like 'o=domain': <pre> src.java.naming.provider.url = ldap://locahost:389/ lsc.tasks.taskname.srcService.baseDn = o=domain </pre> This causes error like that: <pre> [java] javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'o=domai' [java] at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3039) [java] at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2960) [java] at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2767) [java] at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1821) [java] at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1744) [java] at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368) [java] at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338) [java] at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:321) [java] at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248) [java] at org.lsc.jndi.JndiServices.getEntry(JndiServices.java:329) [java] at org.lsc.jndi.JndiServices.getEntry(JndiServices.java:294) [java] at org.lsc.jndi.AbstractSimpleJndiService.get(AbstractSimpleJndiService.java:256) [java] at org.lsc.jndi.SimpleJndiSrcService.getObject(SimpleJndiSrcService.java:116) [java] at org.lsc.AbstractSynchronize.synchronize2Ldap(AbstractSynchronize.java:334) [java] at org.lsc.SimpleSynchronize.launchTask(SimpleSynchronize.java:280) [java] at org.lsc.SimpleSynchronize.launch(SimpleSynchronize.java:172) [java] at org.lsc.Launcher.run(Launcher.java:128) [java] at org.lsc.Launcher.main(Launcher.java:111) </pre> The last character was removed... -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://tools.lsc-project.org/my/account -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lsc-project.org/pipermail/lsc-dev/attachments/20090618/419c6203/attachment.htm>

