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 E8AC9200AF8 for ; Thu, 5 May 2016 14:42:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E733F160A02; Thu, 5 May 2016 12:42:14 +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 210BF160A04 for ; Thu, 5 May 2016 14:42:13 +0200 (CEST) Received: (qmail 82060 invoked by uid 500); 5 May 2016 12:42:13 -0000 Mailing-List: contact dev-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list dev@aries.apache.org Received: (qmail 81956 invoked by uid 99); 5 May 2016 12:42:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 May 2016 12:42:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DCF822C1F64 for ; Thu, 5 May 2016 12:42:12 +0000 (UTC) Date: Thu, 5 May 2016 12:42:12 +0000 (UTC) From: "John Ross (JIRA)" To: dev@aries.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (ARIES-1147) Installing a subsystems as a transitive dependency via a Repository service fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 05 May 2016 12:42:15 -0000 [ https://issues.apache.org/jira/browse/ARIES-1147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Ross closed ARIES-1147. ---------------------------- Assignee: John Ross > Installing a subsystems as a transitive dependency via a Repository service fails > --------------------------------------------------------------------------------- > > Key: ARIES-1147 > URL: https://issues.apache.org/jira/browse/ARIES-1147 > Project: Aries > Issue Type: Bug > Components: Subsystem > Affects Versions: 1.0 > Reporter: David Bosschaert > Assignee: John Ross > Fix For: subsystem-core-1.2.0 > > > When installing a subsystem that contains a bundle which has a dependency that is fulfilled by another subsystem that is available via a registered Repository Service, an error occurs. > The exception occurs when constructing a SubsystemUri instance with an uri value of: {{subsystem://?Subsystem-SymbolicName=org.osgi.service.subsystem.root&Subsystem-Version=1.0.0!/my-subsystem@0.5.0}} > The full exception is: > {code}java.lang.IllegalArgumentException: invalid version "1.0.0!/cdi-subsystem@0.5.0": non-numeric "0!/cdi-subsystem@0" > at org.osgi.framework.Version.parseInt(Version.java:170) > at org.osgi.framework.Version.(Version.java:134) > at org.osgi.framework.Version.parseVersion(Version.java:233) > at org.apache.aries.subsystem.core.internal.SubsystemUri.(SubsystemUri.java:65) > at org.apache.aries.subsystem.core.internal.Location.(Location.java:58) > at org.apache.aries.subsystem.core.internal.RawSubsystemResource.(RawSubsystemResource.java:114) > at org.apache.aries.subsystem.core.internal.SubsystemResourceInstaller.installRepositoryContent(SubsystemResourceInstaller.java:149) > at org.apache.aries.subsystem.core.internal.SubsystemResourceInstaller.install(SubsystemResourceInstaller.java:36) > at org.apache.aries.subsystem.core.internal.SubsystemResourceInstaller.installAriesSubsystem(SubsystemResourceInstaller.java:98) > at org.apache.aries.subsystem.core.internal.SubsystemResourceInstaller.install(SubsystemResourceInstaller.java:38) > at org.apache.aries.subsystem.core.internal.InstallAction.run(InstallAction.java:75) > at org.apache.aries.subsystem.core.internal.InstallAction.run(InstallAction.java:31) > at java.security.AccessController.doPrivileged(Native Method) > at org.apache.aries.subsystem.core.internal.BasicSubsystem.install(BasicSubsystem.java:621) > at org.apache.aries.subsystem.core.internal.BasicSubsystem.install(BasicSubsystem.java:259) > at org.apache.aries.subsystem.core.internal.BasicSubsystem.install(BasicSubsystem.java:63) > at org.coderthoughts.subsystems.gogo.Activator.install(Activator.java:29) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137) > at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82) > at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477) > at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403) > at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108) > at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183) > at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120) > at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89) > at org.apache.felix.gogo.shell.Console.run(Console.java:62) > at org.apache.felix.gogo.shell.Shell.console(Shell.java:203) > at org.apache.felix.gogo.shell.Shell.gosh(Shell.java:128) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137) > at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82) > at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477) > at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403) > at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108) > at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183) > at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120) > at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89) > at org.apache.felix.gogo.shell.Activator.run(Activator.java:75) > at java.lang.Thread.run(Thread.java:744) > Caused by: java.lang.NumberFormatException: For input string: "0!/cdi-subsystem@0" > at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) > at java.lang.Integer.parseInt(Integer.java:492) > at java.lang.Integer.parseInt(Integer.java:527) > at org.osgi.framework.Version.parseInt(Version.java:168) > ... 45 more{code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)