Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2822

[Framework] System bundle module's state not reset when framework restarted leading to NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • framework-3.0.8
    • framework-3.0.9
    • Framework
    • None

    Description

      Normally when a bundle is refreshed, we throw away its module and then recreate it, so we are always starting with a fresh module. For the system bundle, when we stop and restart the framework, the system bundle module is reused. When the framework is restarted, the system bundle module state is still resolved, so when we re-resolve it in Framework.init(), it doesn't get empty wires injected into it since the resolver thinks it's resolved. This leads to subsequent NPEs when the resolver tries to wire later modules to the system bundle.

      Attachments

        Activity

          People

            rickhall Richard S. Hall
            rickhall Richard S. Hall
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: