You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "J. Brébec (JIRA)" <ji...@apache.org> on 2016/01/15 21:43:40 UTC

[jira] [Created] (KARAF-4275) StaticConfigurationAdmin and NPE with spring dm

J. Brébec created KARAF-4275:
--------------------------------

             Summary: StaticConfigurationAdmin and NPE with spring dm
                 Key: KARAF-4275
                 URL: https://issues.apache.org/jira/browse/KARAF-4275
             Project: Karaf
          Issue Type: Bug
          Components: karaf-profile
    Affects Versions: 4.0.4
         Environment: Karaf 4.0.4 with a static distribution
            Reporter: J. Brébec


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.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)