Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-3085

[Tests] ConcurrentModificationException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.2.0
    • 4.2.0
    • Tests
    • None
    • 4.2 M10

      On running tests, we randomly have the following error :

      java.util.ConcurrentModificationException
      	at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:719)
      	at java.util.LinkedHashMap$LinkedKeyIterator.next(LinkedHashMap.java:742)
      	at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.dispose(ThreadSafeComponentManager.java:228)
      	at org.ametys.runtime.test.CocoonWrapper.dispose(CocoonWrapper.java:350)
      	at org.ametys.runtime.test.framework.CocoonHelper.stopApplication(CocoonHelper.java:102)
      	at org.ametys.runtime.test.AbstractRuntimeTestCase._stopApplication(AbstractRuntimeTestCase.java:142)
      	at org.ametys.runtime.test.AbstractRuntimeTestCase.runtimeTearDown(AbstractRuntimeTestCase.java:153)

      We are not able to identify where is the problem so the first step is to trace the modifications on the ThreadSafeComponentManager._components class attribute.

            bmaurel Bérénice Maurel
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: