Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-2992

SWITCHYARD035408 error caused by java.util.ConcurrentModificationException under load

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.1.0
    • Fix Version/s: None
    • Component/s: common
    • Labels:
      None

      Description

      Under load, the SOAPContextMapper could fail due to a non thread-safe manipulation of the BaseRegexContextMapper._includeRegexes list:

      Caused by: java.util.ConcurrentModificationException
      	at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901)
      	at java.util.ArrayList$Itr.next(ArrayList.java:851)
      	at org.switchyard.component.common.composer.BaseRegexContextMapper.matches(BaseRegexContextMapper.java:131)
      	at org.switchyard.component.soap.composer.SOAPContextMapper.copyToSOAPHeader(SOAPContextMapper.java:233)
      

      See https://issues.jboss.org/browse/ENTESB-6525 for details.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tcunning Thomas Cunningham
                  Reporter:
                  mputz Martin Weiler
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: