Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8538B200BE6 for ; Sat, 10 Dec 2016 09:18:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 8403D160B2F; Sat, 10 Dec 2016 08:18:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 061EA160B31 for ; Sat, 10 Dec 2016 09:17:59 +0100 (CET) Received: (qmail 51710 invoked by uid 500); 10 Dec 2016 08:17:59 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 51621 invoked by uid 99); 10 Dec 2016 08:17:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Dec 2016 08:17:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id ECD482C03E3 for ; Sat, 10 Dec 2016 08:17:58 +0000 (UTC) Date: Sat, 10 Dec 2016 08:17:58 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-4275) StaticConfigurationAdmin and NPE with spring dm MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 10 Dec 2016 08:18:00 -0000 [ https://issues.apache.org/jira/browse/KARAF-4275?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1573= 7482#comment-15737482 ]=20 Jean-Baptiste Onofr=C3=A9 commented on KARAF-4275: --------------------------------------------- It's more a Felix ConfigAdmin issue. Let me try to reproduce. > 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=C3=A9bec > Assignee: Jean-Baptiste Onofr=C3=A9 > Fix For: 4.1.0, 4.0.8 > > > Spring DM throw a NPE with a Karaf static distribution, when a configurat= ion is not bound. The Static ConfigurationAdmin implementation is not compl= iant with the specification : getConfiguration should never return null. > A workaround : create an for every configuration a file .cfg = in etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332)