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 12FE8200C3C for ; Mon, 3 Apr 2017 15:11:39 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 115E5160B8F; Mon, 3 Apr 2017 13:11:39 +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 4ABB0160B76 for ; Mon, 3 Apr 2017 15:11:38 +0200 (CEST) Received: (qmail 50391 invoked by uid 500); 3 Apr 2017 13:11:36 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 50381 invoked by uid 99); 3 Apr 2017 13:11:36 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2017 13:11:36 +0000 Received: from [10.0.0.4] (unknown [52.168.86.193]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 014821A00E8 for ; Mon, 3 Apr 2017 13:11:35 +0000 (UTC) From: Mark Thomas Subject: Re: InvocationTargetException on startup after upgrade to 8.5.13 To: Tomcat Users List References: <7A92B6F3884160489E224CEA5B09FC5C568F26E2@IFB-MX.ifbus.de> Message-ID: <2a44f34a-de03-0371-783a-d9bbfde3ffd8@apache.org> Date: Mon, 3 Apr 2017 14:10:38 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit archived-at: Mon, 03 Apr 2017 13:11:39 -0000 On 4/3/2017 10:39 AM, Konstantin Kolinko wrote: > 3. This getter has a side-effect. > It callsAbstractHttp11Protocol.registerDefaultSSLHostConfig() > > Note that this happens when Tomcat is already running. The call is > from a web application. > > This results in NPE trying to read a key file. I guess that this > connector is configured to use plain HTTP, not HTTPS. > > A getter method should not have such side-effect. Fixed in 9.0.x and 8.5.x for the next release of each. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org