Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
subsystem-2.0.4
-
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.