Hi.
I have a process where I multi-instanciate a task for each value of a list.
Yesterday I note that when the list is empty, the process crash with this error :
2015-01-23 10:36:13 org.bonitasoft.engine.execution.work.FailureHandlingBonitaWork
AVERTISSEMENT: THREAD_ID=67 | HOSTNAME=W28323 | TENANT_ID=1 | The work [ExecuteFlowNodeWork: processInstanceId:1, flowNodeInstanceId: 3] failed. The failure will be handled.
2015-01-23 10:36:13 org.bonitasoft.engine.execution.work.FailureHandlingBonitaWork
AVERTISSEMENT: THREAD_ID=67 | HOSTNAME=W28323 | TENANT_ID=1 | java.lang.IndexOutOfBoundsException : “Index: 0, Size: 0”
I expected that if the list on which I iterate is empty, the task is skipped.
Is it normal to have this error ?
I use Bonita 6.3.7 with java 1.7.
PS : This bug appears only if I check the “Sequential” box in the Iterate tab.