On 05/11/2019 19:35, Matjaz Premerl wrote: > Hi, > > While I'm synchronizing about 10000 user records from database to AD, after > 7850 records everything fine but then I've got such error below (some values > are masked): > Nov 05 16:36:09 - ERROR - Error while synchronizing ID > CN=12345,OU=Users,OU=XXXX,DC=xxx,DC=xxx,DC=xxx: java.lang.NullPointerException > > And the similar message, for the rest of missing records (about 3000) at > first sync. > Nov 05 16:36:09 - ERROR - Error while synchronizing ID > {nameofthefield=40713}: java.lang.NullPointerException > Nov 05 16:36:09 - ERROR - Error while synchronizing ID {nameofthefield > =40716}: java.lang.NullPointerException > Nov 05 16:36:09 - ERROR - Error while synchronizing ID {nameofthefield > =40718}: java.lang.NullPointerException > Nov 05 16:36:09 - ERROR - Error while synchronizing ID {nameofthefield > =40721}: java.lang.NullPointerException > Nov 05 16:36:09 - ERROR - Error while synchronizing ID {nameofthefield > =40726}: java.lang.NullPointerException > Nov 05 16:36:09 - ERROR - Error while synchronizing ID {nameofthefield > =40727}: java.lang.NullPointerException > Nov 05 16:36:09 - ERROR - Error while synchronizing ID {nameofthefield > =40730}: java.lang.NullPointerException > Nov 05 16:36:09 - ERROR - Error while synchronizing ID {nameofthefield > =40731}: java.lang.NullPointerException > > I've checked the data for the first "problematic" record, but I don't see any > strange things in the data from sql query. > I'm almost sure that in second attempt, the lsc will continue to synchronize > also those "problematic" objects. > But, before another execution I have a question if you maybe have some > general idea what is happening here, is it some bug or what else should I > could check or what to enable for better additional logging to find a real > cause of the issue? > > Is there also some known problem with LSC and Open JDK? > I'm using version below: > openjdk version "1.8.0_222" > OpenJDK Runtime Environment (IcedTea 3.13.0) (build 1.8.0_222-b10 > suse-lp150.2.19.1-x86_64) > OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode) > > Regards, > Matjaž > > _______________________________________________________________ > Ldap Synchronization Connector (LSC) - http://lsc-project.org > > lsc-users mailing list > lsc-users@lists.lsc-project.org > https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users > Hi,
This error could be in your scripts, check mainIdentifier or dataSets for an unchecked source attribute use that may not exist for some entries or an unchecked use of dstBean - dstBean is null for creations but not null for updates. To get a better look at what is going on, you can change the level to debug in logback.xml, and execute LSC with one thread (-t 1) to get sequential logs. You may also want to use dry run mode (-n) so no modification are made in sources). Regards -- Soisik Froger | Software Architect soisik.fro...@worteks.com Worteks | https://www.worteks.com _______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list lsc-users@lists.lsc-project.org https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users