Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4275

StaticConfigurationAdmin and NPE with spring dm

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.4
    • Fix Version/s: 4.0.9, 4.1.1
    • Component/s: karaf
    • Labels:
      None
    • Environment:

      Karaf 4.0.4 with a static distribution

      Description

      Spring DM throw a NPE with a Karaf static distribution, when a configuration is not bound. The Static ConfigurationAdmin implementation is not compliant with the specification : getConfiguration should never return null.

      A workaround : create an for every configuration a file <config-pid>.cfg in etc.

        Attachments

          Activity

            People

            • Assignee:
              gnt Guillaume Nodet
              Reporter:
              j3rem1e J. Brébec
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: