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 12D65200B39 for ; Sat, 25 Jun 2016 07:57:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 11947160A62; Sat, 25 Jun 2016 05:57:18 +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 625E7160A58 for ; Sat, 25 Jun 2016 07:57:17 +0200 (CEST) Received: (qmail 34864 invoked by uid 500); 25 Jun 2016 05:57:16 -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 34830 invoked by uid 99); 25 Jun 2016 05:57:16 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Jun 2016 05:57:16 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 3FC592C1F5D for ; Sat, 25 Jun 2016 05:57:16 +0000 (UTC) Date: Sat, 25 Jun 2016 05:57:16 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-3798) FeaturesServiceImpl not threadsafe MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 25 Jun 2016 05:57:18 -0000 [ https://issues.apache.org/jira/browse/KARAF-3798?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1534= 9089#comment-15349089 ]=20 ASF subversion and git services commented on KARAF-3798: -------------------------------------------------------- Commit 24a8835836e3f3e6545adb605837ad32ddba7e8d in karaf's branch refs/head= s/master from [~fabianlange] [ https://git-wip-us.apache.org/repos/asf?p=3Dkaraf.git;h=3D24a8835 ] [KARAF-3798] Use a single threaded executor for FeaturesService prevents po= tential concurrent installations, each provision is queued on a single exec= utor thread. > FeaturesServiceImpl not threadsafe > ---------------------------------- > > Key: KARAF-3798 > URL: https://issues.apache.org/jira/browse/KARAF-3798 > Project: Karaf > Issue Type: Bug > Components: karaf-feature > Affects Versions: 4.0.0.M3 > Reporter: Fabian Lange > Assignee: Jean-Baptiste Onofr=C3=A9 > Fix For: 4.1.0, 4.0.6 > > Attachments: Screen Shot 2016-06-24 at 12.57.40.png > > > This error happens pretty frequently with M3, when there are multiple fea= tures installed on startup and config files to activate them created. > {code} > 2015-06-19 15:55:12,249 | ERROR | 43-3aaf88a7bd8b) | configadmin = | 3 - org.apache.felix.configadmin - 1.8.4 | Unexpected proble= m delivering configuration event to [org.osgi.service.cm.ConfigurationListe= ner, id=3D30, bundle=3D9/mvn:org.apache.felix/org.apache.felix.scr/1.8.2] > java.lang.NullPointerException > =09at org.apache.felix.scr.impl.config.ConfigurationSupport.configuration= Event(ConfigurationSupport.java:283)[9:org.apache.felix.scr:1.8.2] > =09at org.apache.felix.cm.impl.ConfigurationManager$FireConfigurationEven= t.sendEvent(ConfigurationManager.java:2036)[3:org.apache.felix.configadmin:= 1.8.4] > =09at org.apache.felix.cm.impl.ConfigurationManager$FireConfigurationEven= t.run(ConfigurationManager.java:2005)[3:org.apache.felix.configadmin:1.8.4] > =09at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:103)[3:= org.apache.felix.configadmin:1.8.4] > =09at java.lang.Thread.run(Thread.java:745)[:1.8.0_40] > {code} > As written in latest comment, the root cause seems to be that multiple in= stallFeature calls to FeatureService mess up the state of the bundles. In m= y case it left a bundle in a corrupt state, which was noticed when the conf= iguration change did not really activate the service. -- This message was sent by Atlassian JIRA (v6.3.4#6332)