Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.12, 1.13.4
-
None
Description
Current Situation
it may happen that the fact plugin can not synchronize the databases. This may happen when there are more than 1000 tasks to be synchronized e.g. after a long time the fact plugin has been deactivated.
In the scheduler.log file you can find this
11 21:17:34.800 com.sos.jitl.reporting.model.report.FactModel [INFO ] - [synchronizeUncompletedTasks]1001 uncompleted tasks > as 1000. do split... .11 21:17:37.700 com.sos.jitl.reporting.model.report.FactModel [INFO ] - [process][locked#2020-06-11 15:28:07#2020-06-11 15:47:34][2020-06-11 15:28:07]reset synchronizing on exception .11 21:17:37.708 com.sos.jitl.eventhandler.plugin.notifier.Notifier [ERROR] - [FactEventHandler][reoccurred][11]java.lang.IndexOutOfBoundsException: toIndex = 1001 .11 21:17:39.794 com.sos.jitl.reporting.model.report.FactModel [INFO ] - [synchronizeUncompletedTasks]1001 uncompleted tasks > as 1000. do split... .11 21:17:42.891 com.sos.jitl.reporting.model.report.FactModel [INFO ] - [process][locked#2020-06-11 15:28:07#2020-06-11 15:47:39][2020-06-11 15:28:07]reset synchronizing on exception .11 21:17:42.898 com.sos.jitl.eventhandler.plugin.notifier.Notifier [ERROR] - [FactEventHandler][reoccurred][12]java.lang.IndexOutOfBoundsException: toIndex = 1001 .11 21:18:04.928 30145 37751.A5567720 {scheduler} sos::scheduler::directory_observer::Directory_observer::async_continue_ check configuration directory
Desired Behavior
the fact plugin should not throw the IndexOutOfBound exception even when there are more than 1000 tasks to be synchronized.
Patch
A patch for 1.13.4. is available here
.