You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2017/02/10 07:49:41 UTC

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

     [ https://issues.apache.org/jira/browse/KARAF-4275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet reassigned KARAF-4275:
--------------------------------------

    Assignee: Guillaume Nodet  (was: Jean-Baptiste Onofré)

> 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
>            Assignee: Guillaume Nodet
>             Fix For: 4.0.9, 4.1.1
>
>
> 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.15#6346)