karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J. Brébec (JIRA) <j...@apache.org>
Subject [jira] [Created] (KARAF-4275) StaticConfigurationAdmin and NPE with spring dm
Date Fri, 15 Jan 2016 20:43:40 GMT
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

View raw message