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

BeanProcessor are not removed when a namespace is restarted

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: blueprint-core-1.9.0
    • Component/s: Blueprint
    • Labels:
      None

      Description

      a bundle X which register a custom NamespaceHandler. This handler add into the context a BeanProcessor with a reference on an osgi service.The Bundle Y use this namespace.

      When I restart X, the bundle Y restarts, but fails with the error "The Blueprint container is being or has been destroyed"

      When a namespace is restarted, the bundle Y keeps the same instance of BlueprintContainer. However, his "processors" properties is not resetted : it owns two instances of my BeanProcessor : the first one (before the restart), and the second one (after the restart). The first instance fails because the reference is not valid anymore.

        Attachments

          Activity

            People

            • Assignee:
              gnodet Guillaume Nodet
              Reporter:
              j3rem1e J. Br├ębec

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment