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 B76BC200D54 for ; Fri, 8 Dec 2017 23:07:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B5E3A160C1F; Fri, 8 Dec 2017 22:07:05 +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 08DE4160BFD for ; Fri, 8 Dec 2017 23:07:04 +0100 (CET) Received: (qmail 93712 invoked by uid 500); 8 Dec 2017 22:07:04 -0000 Mailing-List: contact dev-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list dev@sling.apache.org Received: (qmail 93700 invoked by uid 99); 8 Dec 2017 22:07:04 -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; Fri, 08 Dec 2017 22:07:04 +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 708DC1A0B93 for ; Fri, 8 Dec 2017 22:07:03 +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-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id pqLXKWJtqCpn for ; Fri, 8 Dec 2017 22:07:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 68B295F3D1 for ; Fri, 8 Dec 2017 22:07:02 +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 F1FFAE09A5 for ; Fri, 8 Dec 2017 22:07:01 +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 75AAD273E1 for ; Fri, 8 Dec 2017 22:07:00 +0000 (UTC) Date: Fri, 8 Dec 2017 22:07:00 +0000 (UTC) From: "Oliver Lietz (JIRA)" To: dev@sling.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (SLING-7234) ServiceFactory.getService() resulted in a cycle in sling karaf MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 08 Dec 2017 22:07:05 -0000 [ https://issues.apache.org/jira/browse/SLING-7234?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1628= 4129#comment-16284129 ]=20 Oliver Lietz edited comment on SLING-7234 at 12/8/17 10:06 PM: --------------------------------------------------------------- Scripting Core 2.0.48 and newer is broken and fails on Karaf (update Script= ing Core in Sling's Karaf Features and Launchpad Oak Tar ITs will fail imme= diately). I hadn't time to dig into it yet, but will probably next week. [~radu.cotes= cu], [~karlpauls] you both did some major changes recently =E2=80=93 any id= eas? was (Author: olli): Scripting Core > 2.0.48 is broken and fails on Karaf (update Scripting Core= in Sling's Karaf Features and Launchpad Oak Tar ITs will fail immediately)= . I hadn't time to dig into it yet, but will probably next week. [~radu.cotes= cu], [~karlpauls] you both did some major changes recently =E2=80=93 any id= eas? > ServiceFactory.getService() resulted in a cycle in sling karaf=20 > --------------------------------------------------------------- > > Key: SLING-7234 > URL: https://issues.apache.org/jira/browse/SLING-7234 > Project: Sling > Issue Type: Bug > Components: Karaf, Scripting > Affects Versions: Scripting Core 2.0.50 > Environment: Debian linux, jdk 1.8.0_151-b12 > Reporter: Ivo Leit=C3=A3o > Assignee: Oliver Lietz > Attachments: clean.log.1, sample.log.1 > > > Hello, > Once in a while on the first startup of Sling on Karaf I'm seeing the exc= eption ServiceFactory.getService() resulted in a cycle. This does not happe= n every time only on some startups.=20 > After the first startup on the next restart this exception does not appea= r anymore. > I've picked a sample of the exception. Unfortunately this seems like a co= ncurrency issue and therefore much harder to find a pattern but it happens = mostly with sling scripting. I've seen other exceptions also with sling scr= ipting but this one is the most common=20 > I've uploaded two log files: > clean.log.1 with a clean startup and > sample.log.1 with the aforementioned exception -- This message was sent by Atlassian JIRA (v6.4.14#64029)