Karaf
  1. Karaf
  2. KARAF-1140

config:list has NPE since it uses a service after ungetting the service reference

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: karaf-shell
    • Labels:
      None

      Description

      ConfigCommandSupport ungets the service reference before using the service. Felix is designed well enough so the service is unusable after it has been ungot.

        Activity

        Hide
        David Jencks added a comment -

        r1228001.

        I changed the commands to use blueprint injection of the ConfigurationAdmin service. This means the commands wont be visible when config admin is missing.

        Show
        David Jencks added a comment - r1228001. I changed the commands to use blueprint injection of the ConfigurationAdmin service. This means the commands wont be visible when config admin is missing.

          People

          • Assignee:
            David Jencks
            Reporter:
            David Jencks
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development