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

NullObject is created for a required dependency if the component is removed and added again to the dependency manager

    XMLWordPrintableJSON

Details

    Description

      I have a component A with a required dependency to B and C.
      I add A, B and C to the dependency manager.
      Then I remove A and B.
      Finally I only add A again. Now the exception "Could not create null object for class com.example.Activator$B is thrown". See the attached Activator.
      I did not expect that a NullObject is ever created for a required dependency.

      Attachments

        1. Activator.java
          1 kB
          Jeroen Daanen

        Activity

          People

            pderop Pierre De Rop
            JeroenDaanen Jeroen Daanen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: