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 D8357200CD9 for ; Thu, 3 Aug 2017 16:00:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CF82C16B9E0; Thu, 3 Aug 2017 14:00:06 +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 2074616B9DC for ; Thu, 3 Aug 2017 16:00:05 +0200 (CEST) Received: (qmail 68807 invoked by uid 500); 3 Aug 2017 14:00:05 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 68795 invoked by uid 99); 3 Aug 2017 14:00:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2017 14:00:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id BDB07C1CDC for ; Thu, 3 Aug 2017 14:00:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id us5ZjcEYpmb4 for ; Thu, 3 Aug 2017 14:00:03 +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 37C9C5F3CD for ; Thu, 3 Aug 2017 14:00: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 7F860E0031 for ; Thu, 3 Aug 2017 14:00: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 321372464C for ; Thu, 3 Aug 2017 14:00:02 +0000 (UTC) Date: Thu, 3 Aug 2017 14:00:02 +0000 (UTC) From: "David Bosschaert (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FELIX-5672) Cannot launch Felix on Raspberry Pi: problem with normalizeOSVersion() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 03 Aug 2017 14:00:07 -0000 David Bosschaert created FELIX-5672: --------------------------------------- Summary: Cannot launch Felix on Raspberry Pi: problem with normalizeOSVersion() Key: FELIX-5672 URL: https://issues.apache.org/jira/browse/FELIX-5672 Project: Felix Issue Type: Bug Components: Framework Affects Versions: framework-5.6.6 Environment: java version "1.8.0_65" Java(TM) SE Runtime Environment (build 1.8.0_65-b17) Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode) Reporter: David Bosschaert Launching the Felix Framework on the Raspberry Pi fails with the following error: {code} java -jar bin/felix.jar Could not create framework: java.lang.IllegalArgumentException: invalid version "4.9.35.": invalid format java.lang.IllegalArgumentException: invalid version "4.9.35.": invalid format at org.osgi.framework.Version.(Version.java:147) at org.apache.felix.framework.util.manifestparser.NativeLibraryClause.normalizeOSVersion(NativeLibraryClause.java:770) at org.apache.felix.framework.Felix.initializeFrameworkProperties(Felix.java:4617) at org.apache.felix.framework.Felix.(Felix.java:384) at org.apache.felix.framework.FrameworkFactory.newFramework(FrameworkFactory.java:28) at org.apache.felix.main.Main.main(Main.java:287) Caused by: java.util.NoSuchElementException at java.util.StringTokenizer.nextToken(StringTokenizer.java:349) at java.util.StringTokenizer.nextToken(StringTokenizer.java:377) at org.osgi.framework.Version.(Version.java:138) ... 5 more {code} Seems that the normalizeOSVersion() function can't handle the Pi OS version number which is reported as: {code} uname -a Linux mypi 4.9.35+ #1014 Fri Jun 30 14:34:49 BST 2017 armv6l GNU/Linux {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)