{"id":15417,"date":"2018-05-24T05:21:25","date_gmt":"2018-05-24T12:21:25","guid":{"rendered":"https:\/\/ephesoft.com\/docs\/?p=15417"},"modified":"2022-04-01T09:58:48","modified_gmt":"2022-04-01T16:58:48","slug":"java-util-concurrentmodificationexception","status":"publish","type":"post","link":"https:\/\/ephesoft.com\/docs\/java-util-concurrentmodificationexception\/","title":{"rendered":"Batch Errors with ConcurrentModificationException"},"content":{"rendered":"
Applies to: <\/strong>Ephesoft Transact prior to 4.5.0.0<\/span> Batch Instance goes to error state with Sample Exception Stack Trace:<\/span><\/p>\n \u00a0<\/b>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 To resolve this issue, upgrade to Transact 4.5.0.0 or above.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":" Applies to: Ephesoft Transact prior to 4.5.0.0 Resolved in:\u00a0Ephesoft Transact 4.5.0.0 Issue Batch Instance goes to error state with ConcurrentModificationException […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12365],"tags":[1331,12409,227,12408],"yoast_head":"\n
\nResolved in:\u00a0<\/strong>Ephesoft Transact 4.5.0.0<\/span><\/p>\nIssue<\/strong><\/span><\/h2>\n
ConcurrentModificationException<\/code> when executing the field change value script<\/span><\/p>\n
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-\r\n<\/span>java.util.ConcurrentModificationException<\/pre>\n
\u00a0\u00a0\u00a0\u00a0\u00a0 at\u00a0java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901)\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 at\u00a0java.util.ArrayList$Itr.next(ArrayList.java:851)\r\n \u00a0\u00a0\u00a0\u00a0\u00a0 at com.sun.xml.bind.v2.runtime.reflect.Lister$CollectionLister$1.next(Lister.java:284)\r\n \u00a0\u00a0\u00a0\u00a0\u00a0 at com.sun.xml.bind.v2.runtime.property.ArrayElementProperty.serializeListBody(ArrayElementProperty.java:135)\r\n \u00a0\u00a0\u00a0\u00a0\u00a0 at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.serializeBody(ArrayERProperty.java:152)\r\n \u00a0\u00a0\u00a0\u00a0\u00a0 at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:332)\r\n \u00a0\u00a0\u00a0\u00a0\u00a0 at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:698)\r\n \u00a0\u00a0\u00a0\u00a0\u00a0 at com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty.serializeBody(SingleElementNodeProperty.java:152)<\/span><\/pre>\n
ConcurrentModificationException<\/code>. This has a low impact on batch instance processing. <\/span><\/span><\/p>\n