Return-Path: X-Original-To: apmail-cxf-dev-archive@www.apache.org Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D2F371892B for ; Sat, 30 Apr 2016 14:27:53 +0000 (UTC) Received: (qmail 95649 invoked by uid 500); 30 Apr 2016 14:27:53 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 95571 invoked by uid 500); 30 Apr 2016 14:27:53 -0000 Mailing-List: contact dev-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list dev@cxf.apache.org Received: (qmail 95557 invoked by uid 99); 30 Apr 2016 14:27:53 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Apr 2016 14:27:53 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 152B7DFA44; Sat, 30 Apr 2016 14:27:52 +0000 (UTC) From: cschneider To: dev@cxf.apache.org Reply-To: dev@cxf.apache.org References: In-Reply-To: Subject: [GitHub] cxf pull request: Fixes a NPE if Bus is not registered Content-Type: text/plain Message-Id: <20160430142753.152B7DFA44@git1-us-west.apache.org> Date: Sat, 30 Apr 2016 14:27:52 +0000 (UTC) Github user cschneider commented on the pull request: https://github.com/apache/cxf/pull/129#issuecomment-215970036 We indeed have a race condition here. The code I wrote will update the ConduitFactory even when the config comes late but this will not influence endpoints that are already created. To target a specific bus would also not help as the bus creation is in control of the bundle that owns it. To tackle this is a correct way we would need a completely different approach. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---