Joerg Hoh created SLING-12434: --------------------------------- Summary: [BundledScriptTracker] Invalid BundlelContext Key: SLING-12434 URL: https://issues.apache.org/jira/browse/SLING-12434 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(1293)] : The activate method has thrown an exception (java.lang.IllegalStateException: Invalid BundleContext.) java.lang.IllegalStateException: Invalid BundleContext. at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:491) at org.apache.felix.framework.BundleContextImpl.getBundle(BundleContextImpl.java:94) at org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker$1.invoke(BundledScriptTracker.java:354) [org.apache.sling.servlets.resolver:2.11.2] at com.sun.proxy.$Proxy327.getBundle(Unknown Source) at org.apache.sling.servlets.resolver.internal.resource.ServletMounter.createServlet(ServletMounter.java:230) [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)