On 30.03.2009 19:12, Thomas Chemineau wrote: > Hi all, > Hi,
I know this was some time ago, but better late than never. > So, I succeed into running a hsqldb instance (without ant ;), import > data and run LSC on it. It seems that all is OK, but LSC prints strange > user ID, with a "=null" string appended. > > Here are some traces : > > 8<-------- > [root at localhost etc]# /opt/lsc-csv2ldap/bin/lsc-csv2ldap-wrapper -s all > 0 [main] DEBUG > org.lsc.Configuration.setConfiguration(Configuration.java:299) - > Loading configuration url : file:/opt/lsc-csv2ldap/etc/lsc.properties > 152 [main] DEBUG > org.lsc.Configuration.setConfiguration(Configuration.java:299) - > Loading configuration url : file:/opt/lsc-csv2ldap/etc/lsc.properties > 174 [main] WARN > org.lsc.SimpleSynchronize.launchTask(SimpleSynchronize.java:217) - > Starting sync for application 1318 [main] DEBUG > org.lsc.AbstractSynchronize.synchronize2Ldap(AbstractSynchronize.java:295) > - Synchronizing org.lsc.objects.myUtilisateur for jdoe=null 1334 > [main] ERROR > org.lsc.AbstractSynchronize.synchronize2Ldap(AbstractSynchronize.java:303) > - Unable to get object for id=jdoe=null 1345 [main] DEBUG > org.lsc.utils.I18n.setLocaleAndLoadMessages(I18n.java:167) - Setting > locale to fr_FR 1362 [main] ERROR > org.lsc.AbstractSynchronize.synchronize2Ldap(AbstractSynchronize.java:389) > - # Nombre d'enregistrement(s) pris en compte: 1, nombre > d'enregistrement(s) ? reporter: 0, nombre d'enregistrements > report??(s): 0, nombre d'erreurs: 1 > 8<-------- > The display "jdoe=null" is just a Java-ism. Each object is represented as an entry with a key (jdoe) and it's values (the pivot attributes to read). When these messages are displayed, there can't be any values, because we have not got them yet. I have just commited a fix so that only the key is displayed. Jon -- -------------------------------------------------------------- Jonathan Clarke - jonathan at phillipoux.net -------------------------------------------------------------- Ldap Synchronization Connector (LSC) - http://lsc-project.org --------------------------------------------------------------

