Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-1428

org.osgi.framework.BundleException: Could not resolve module: <module> Bundle was filtered by a resolver hook.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • subsystem-2.0.4
    • subsystem-2.0.6
    • Subsystem
    • None

    Description

      This exception may occur during a small window of time between the registration of the resolver hook and initialization of the root subsystem while the implementation bundle is being activated.

      ARIES-1392 introduced the need to prevent bundles that are part of a subsystem installation from resolving until the installation is complete. An assumption made was that a check to see if the bundle was referenced by any subsystems was sufficient. This is not the case because during the small window of time mentioned previously, the resolver hook will think that no bundles are associated with any subsystems. If a bundle undergoes a resolution attempt during this period, it will fail.

      The solution is to ensure that the resolver hook will only prevent bundles not referenced by any subsystems from resolving on the same thread as the subsystem installation.

      Attachments

        Activity

          People

            jwross@us.ibm.com John Ross
            jwross@us.ibm.com John Ross
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: