ConcurrentModificationException in vse logs
search cancel

ConcurrentModificationException in vse logs

book

Article ID: 203839

calendar_today

Updated On:

Products

CA Cloud Test Mobile CA Application Test

Issue/Introduction

Seeing below exception in vse.log for all the services deployed in VSE Server. Please help to understand what could be the reason for this error.

Devtest Version 10.6

2020-11-20 08:00:13,138Z (00:00) [OrderUpdateWSIL [VS_Order_DEV_Run]/1] ERROR com.itko.lisa.test.TestNode - TestNode caught an exception: java.util.ConcurrentModificationException


============================================================================
| Exception:
============================================================================
| Message: java.util.ConcurrentModificationException
----------------------------------------------------------------------------
| Trapped Exception: null
| Trapped Message: java.util.ConcurrentModificationException
----------------------------------------------------------------------------
STACK TRACE
java.util.c
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909)
at java.util.ArrayList$Itr.next(ArrayList.java:859)
at com.itko.lisa.vse.http.TextHTTPServer.getEndpoint(TextHTTPServer.java:331)
at com.itko.lisa.vse.http.TextHTTPServer.getNextTransaction(TextHTTPServer.java:281)
at com.itko.lisa.vse.stateful.protocol.http.HttpListenStep.execute(HttpListenStep.java:543)
at com.itko.lisa.test.TestNode.executeNode(TestNode.java:995)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1297)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1198)
at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1183)
at com.itko.lisa.test.TestCase.executeTest(TestCase.java:1124)
at com.itko.lisa.coordinator.Instance.run(Instance.java:208)
============================================================================


at com.itko.lisa.vse.stateful.protocol.http.HttpListenStep.execute(HttpListenStep.java:583)
at com.itko.lisa.test.TestNode.executeNode(TestNode.java:995)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1297)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1198)
at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1183)
at com.itko.lisa.test.TestCase.executeTest(TestCase.java:1124)
at com.itko.lisa.coordinator.Instance.run(Instance.java:208)

Environment

Release : 10.6

Component : CA Service Virtualization

Cause

This exception is seen when a scheduled SCAN or any other JOB runs at a certain time hitting all open ports of the virtual services of VSEs on server.

Resolution

Based on the time at which the SCAN/JOB is run you can adjust the timing of actual tests against the virtual services to avoid any issues and ignore these errors if the cause is known.