Batch Errors with ConcurrentModificationException

Applies to: Ephesoft Transact prior to 4.5.0.0
Resolved in: Ephesoft Transact 4.5.0.0

Issue

Batch Instance goes to error state with ConcurrentModificationException when executing the field change value script

Sample Exception Stack Trace:

4.1.3.0 Windows Server 2012 R2 2018-04-24 11:59:17,247 ERROR http-apr-8080-exec-15 com.ephesoft.dcma.script.ScriptExecutor-
java.util.ConcurrentModificationException
       at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901)
       at java.util.ArrayList$Itr.next(ArrayList.java:851)
       at com.sun.xml.bind.v2.runtime.reflect.Lister$CollectionLister$1.next(Lister.java:284)
       at com.sun.xml.bind.v2.runtime.property.ArrayElementProperty.serializeListBody(ArrayElementProperty.java:135)
       at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.serializeBody(ArrayERProperty.java:152)
       at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:332)
       at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:698)
       at com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty.serializeBody(SingleElementNodeProperty.java:152)

 This is a known issue for Ephesoft versions prior to 4.5.0.0, in which very few scenarios the field value change script would run multiple times, putting the batch into error and throwing the ConcurrentModificationException. This has a low impact on batch instance processing.

To resolve this issue, upgrade to Transact 4.5.0.0 or above.