You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Maximilian Michels (JIRA)" <ji...@apache.org> on 2016/05/20 15:44:13 UTC
[jira] [Closed] (FLINK-3892) ConnectionUtils may die with
NullPointerException
[ https://issues.apache.org/jira/browse/FLINK-3892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maximilian Michels closed FLINK-3892.
-------------------------------------
Resolution: Fixed
5dfb8a013cbf769bee641c04ebc666a8dc2f3e14
> 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)