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 2D502200CD7 for ; Tue, 1 Aug 2017 22:27:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2C003167E20; Tue, 1 Aug 2017 20:27:09 +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 73A7D167E1E for ; Tue, 1 Aug 2017 22:27:08 +0200 (CEST) Received: (qmail 67503 invoked by uid 500); 1 Aug 2017 20:27:07 -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 67492 invoked by uid 99); 1 Aug 2017 20:27:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2017 20:27:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 11F6C1A0837 for ; Tue, 1 Aug 2017 20:27:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id FhT0-BxtgI1D for ; Tue, 1 Aug 2017 20:27:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 357385F306 for ; Tue, 1 Aug 2017 20:27:03 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 1B6DEE0630 for ; Tue, 1 Aug 2017 20:27:02 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id E249224817 for ; Tue, 1 Aug 2017 20:27:00 +0000 (UTC) Date: Tue, 1 Aug 2017 20:27:00 +0000 (UTC) From: "Steinar Bang (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (KARAF-5174) Uninstalling feature using liquibase-slf4j crashes karaf MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 01 Aug 2017 20:27:09 -0000 [ https://issues.apache.org/jira/browse/KARAF-5174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16109679#comment-16109679 ] Steinar Bang edited comment on KARAF-5174 at 8/1/17 8:26 PM: ------------------------------------------------------------- Verified fixed for me in karaf 4.1.2-SNAPSHOT on Windows 7, jdk 1.8_144. Thanks! was (Author: sb@dod.no): Verified fixed for me on Windows 7, jdk 1.8_144. Thanks! > Uninstalling feature using liquibase-slf4j crashes karaf > -------------------------------------------------------- > > Key: KARAF-5174 > URL: https://issues.apache.org/jira/browse/KARAF-5174 > Project: Karaf > Issue Type: Bug > Affects Versions: 4.1.1 > Environment: Java 1.8 64 bit, windows 7 64bit, debian "jessie" GNU/linux 64bit > Reporter: Steinar Bang > Assignee: Christian Schneider > Fix For: 4.2.0, 4.1.2 > > Attachments: karaf.log.gz, karaf.zip > > > To reproduce: > # clone this project and build it with maven: > {noformat} > mkdir -p ~/git > cd ~/git > git clone https://github.com/steinarb/liquibase-karaf-feature/ > cd liquibase-karaf-feature > mvn clean install > {noformat} > # start karaf and give the following commands to the karaf console: > {noformat} > feature:repo-add mvn:no.priv.bang.karaf/liquibase-core-karaf/LATEST/xml/features > feature:install liquibase-core > {noformat} > # uninstall the feature > {noformat} > feature:uninstall liquibase-core > {noformat} > Karaf will now output the following and hang: > {noformat} > karaf@root()> feature:install liquibase-core > karaf@root()> feature:uninstall liquibase-core > karaf@root()> > java.lang.IllegalStateException: No inital startlevel yet > at org.apache.felix.framework.FrameworkStartLevelImpl.setStartLevel(FrameworkStartLevelImpl.java:131) > at org.apache.karaf.main.Main.setStartLevel(Main.java:605) > at org.apache.karaf.main.Main$KarafLockCallback.lockAquired(Main.java:711) > at org.apache.karaf.main.Main.doMonitor(Main.java:382) > at org.apache.karaf.main.Main.access$100(Main.java:75) > at org.apache.karaf.main.Main$3.run(Main.java:369) > {noformat} > On karaf 4.0.7 the crash on uninstall doesn't happen. > If the liquibase-slf4j fragment bundle is removed from the liquibase-core feature, the crash on uninstall doesn't happen. -- This message was sent by Atlassian JIRA (v6.4.14#64029)