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 AEEBB2007D0 for ; Tue, 10 May 2016 15:34:19 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AD76516098A; Tue, 10 May 2016 13:34:19 +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 EBB22160877 for ; Tue, 10 May 2016 15:34:18 +0200 (CEST) Received: (qmail 12358 invoked by uid 500); 10 May 2016 13:34:13 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 12336 invoked by uid 99); 10 May 2016 13:34:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 May 2016 13:34:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E8E282C033A for ; Tue, 10 May 2016 13:34:12 +0000 (UTC) Date: Tue, 10 May 2016 13:34:12 +0000 (UTC) From: "Maximilian Michels (JIRA)" To: dev@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-3892) ConnectionUtils may die with NullPointerException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 10 May 2016 13:34:19 -0000 Maximilian Michels created FLINK-3892: ----------------------------------------- Summary: ConnectionUtils may die with NullPointerException Key: FLINK-3892 URL: https://issues.apache.org/jira/browse/FLINK-3892 Project: Flink Issue Type: Bug Components: YARN Client Affects Versions: 1.1.0, 1.0.3 Reporter: Maximilian Michels Assignee: Maximilian Michels Priority: Minor Fix For: 1.1.0 If an invalid hostname is specificed or the hostname can't be resolved from the current interface, {{ConnectionUtils.findAddressUsingStrategy}} may throw a {{NullPointerException}}. When trying to access the {{InetAddress}} of an {{InetSocketAddress}}, null is returned when the host could not been resolved. The solution is to abort the attempt to find the local address if the host couldn't be resolved. -- This message was sent by Atlassian JIRA (v6.3.4#6332)