Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 11B6B108D8 for ; Sun, 17 May 2015 20:45:00 +0000 (UTC) Received: (qmail 21779 invoked by uid 500); 17 May 2015 20:44:59 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 21738 invoked by uid 500); 17 May 2015 20:44:59 -0000 Mailing-List: contact issues-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 issues@cxf.apache.org Received: (qmail 21727 invoked by uid 99); 17 May 2015 20:44:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 May 2015 20:44:59 +0000 Date: Sun, 17 May 2015 20:44:59 +0000 (UTC) From: "Aymen Alquaiti (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (CXF-6402) JettyHTTPServerEngine cannot set a provided Jetty Server MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-6402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aymen Alquaiti reopened CXF-6402: --------------------------------- Estimated Complexity: Novice (was: Unknown) Tested the patch. The NPE is solved, but due to that contexts variable is not added to provided Jetty server, published service cannot be reached. Client received HTTP 404. Accessing WSDL file through browser revels the same response. > JettyHTTPServerEngine cannot set a provided Jetty Server > -------------------------------------------------------- > > Key: CXF-6402 > URL: https://issues.apache.org/jira/browse/CXF-6402 > Project: CXF > Issue Type: Bug > Components: Transports > Affects Versions: 3.0.4 > Environment: JRE 7 > Reporter: Aymen Alquaiti > Assignee: Sergey Beryozkin > Labels: Jetty, patch > Fix For: 3.1.1, 3.0.6, 2.7.17 > > > JettyHTTPServerEngine cannot accept setting a provided Jetty Server instance. Such thing will throw NullPointerException in line 460 (CXf 3.0.4) > The exception is thrown because an object (contexts) of class ContextHandlerCollection is only initialised when no jetty server is provided. Providing a server will leave the object uninitialised, throwing exception in runtime. -- This message was sent by Atlassian JIRA (v6.3.4#6332)