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

[BundledScriptTracker] Invalid BundleContext

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Servlets Resolver 2.11.2
    • None
    • Scripting
    • None

    Description

      [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]
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: