You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/02/10 08:29:42 UTC
[jira] [Commented] (KARAF-4275) StaticConfigurationAdmin and NPE
with spring dm
[ https://issues.apache.org/jira/browse/KARAF-4275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15860915#comment-15860915 ]
ASF subversion and git services commented on KARAF-4275:
--------------------------------------------------------
Commit ee9612a0cbfcac05eaa149a0c3c6c46968ce2695 in karaf's branch refs/heads/master from [~gnt]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=ee9612a ]
[KARAF-4275] StaticConfigurationAdmin and NPE with spring dm
> 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)