Joerg Hoh created SLING-12433:
---------------------------------

             Summary: [BundledScriptTracker] ConcurrentModificationException
                 Key: SLING-12433
                 URL: https://issues.apache.org/jira/browse/SLING-12433
             Project: Sling
          Issue Type: Bug
          Components: Scripting
    Affects Versions: Servlets Resolver 2.11.2
            Reporter: Joerg Hoh



{noformat}
[FelixLogListener] 
org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker bundle 
org.apache.sling.servlets.resolver:2.11.2 
(360)[org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker(1294)]
 : The activate method has thrown an exception 
(java.util.ConcurrentModificationException)
java.util.ConcurrentModificationException: null
        at java.base/java.util.HashMap$HashIterator.nextNode(HashMap.java:1510)
        at java.base/java.util.HashMap$KeyIterator.next(HashMap.java:1533)
        at 
org.apache.sling.servlets.resolver.internal.resource.ServletMounter.createServlet(ServletMounter.java:241)
 [org.apache.sling.servlets.resolver:2.11.2]
        at 
org.apache.sling.servlets.resolver.internal.resource.ServletMounter.bindServlet(ServletMounter.java:175)
 [org.apache.sling.servlets.resolver:2.11.2]
        at 
org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker.register(BundledScriptTracker.java:425)
 [org.apache.sling.servlets.resolver:2.11.2]
        at 
org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker.lambda$addingBundle$9(BundledScriptTracker.java:314)
 [org.apache.sling.servlets.resolver:2.11.2]
        at 
java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271)
        at 
java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1620)
        at 
java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
        at 
java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
        at 
java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
        at 
java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at 
java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
        at 
org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker.addingBundle(BundledScriptTracker.java:321)
 [org.apache.sling.servlets.resolver:2.11.2]
        at 
org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker.addingBundle(BundledScriptTracker.java:93)
 [org.apache.sling.servlets.resolver:2.11.2]
[...]
{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to