Issue #862 has been reported by Frédéric POISSON.
----------------------------------------
Bug #862: java.lang.NullPointerException when all entries exceed 10,000 on
multi threaded LSC run
http://tools.lsc-project.org/issues/862
Author: Frédéric POISSON
Status: New
Priority: Normal
Assigned to:
Category:
Target version:
Problem in version:
Hello,
I've detected on some tasks with more than 10,000 ids for a single task, with a
multi threaded LSC run, that i have some errors like this :
<pre>
ERROR - Error while synchronizing ID {...}: java.lang.NullPointerException
</pre>
I understand that AbstractSynchronize.java run only 10,000 entries at a time,
and wait for the threadPool to finish all thread executions with a timeout of
900 seconds and then continue
with the next 10,000 and so on.
But at first initialization of the destination (or when there are many changes
or heavy load on the servers...) it could take more than 11,11 ids per seconds
to fully finish the thread executions. So the threadPool could stop some
threads before their execution. That's why when i have the above ERROR i have
also less ids from AbstractSynchronize.java counter than from real number of
entries return by the get all filter of the source, and the above ERROR are
also not count :
<pre>
INFO - All entries: 23042, to modify entries: 0, successfully modified
entries: 0, errors: 0
</pre>
That's why the 10,000 and the 900 seconds could be adapted with two JVM system
properties (see patch).
--
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
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev