Joerg Hoh created SLING-11213:
---------------------------------

             Summary: Concurrency problem on shutdown
                 Key: SLING-11213
                 URL: https://issues.apache.org/jira/browse/SLING-11213
             Project: Sling
          Issue Type: Bug
          Components: Scripting
    Affects Versions: Scripting Core 2.4.4, Scripting Core 2.3.6
            Reporter: Joerg Hoh


During shutdown you can get this exception:

{noformat}
13.03.2022 03:08:06.754 *ERROR* [FelixDispatchQueue] ERROR: Bundle '492' 
EventDispatcher: Error during dispatch. 
(java.util.ConcurrentModificationException)
java.util.ConcurrentModificationException
              at java.util.HashMap$HashIterator.nextNode(HashMap.java:1437)
              at java.util.HashMap$KeyIterator.next(HashMap.java:1461)
              at 
org.apache.sling.scripting.core.impl.jsr223.SlingScriptEngineManager.updateFactories(SlingScriptEngineManager.java:307)
              at 
org.apache.sling.scripting.core.impl.jsr223.SlingScriptEngineManager.bundleChanged(SlingScriptEngineManager.java:225)
              at 
org.apache.felix.framework.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:915)
              at 
org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:834)
              at 
org.apache.felix.framework.EventDispatcher.run(EventDispatcher.java:1147)
              at 
org.apache.felix.framework.EventDispatcher.access$000(EventDispatcher.java:54)
              at 
org.apache.felix.framework.EventDispatcher$1.run(EventDispatcher.java:102)
              at java.lang.Thread.run(Thread.java:748)
{noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to