Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-11213

Concurrency problem on shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Scripting Core 2.3.6, Scripting Core 2.4.4
    • Scripting Core 2.4.8
    • Scripting
    • None

    Description

      During shutdown you can get this exception:

      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)
      

      Attachments

        Activity

          People

            joerghoh Joerg Hoh
            joerghoh Joerg Hoh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h