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 3E800200B4C for ; Fri, 8 Jul 2016 04:30:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3D28A160A68; Fri, 8 Jul 2016 02:30:14 +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 7C94D160A72 for ; Fri, 8 Jul 2016 04:30:13 +0200 (CEST) Received: (qmail 45704 invoked by uid 500); 8 Jul 2016 02:30:11 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 45657 invoked by uid 99); 8 Jul 2016 02:30:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2016 02:30:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2ECD62C02A3 for ; Fri, 8 Jul 2016 02:30:11 +0000 (UTC) Date: Fri, 8 Jul 2016 02:30:11 +0000 (UTC) From: "Zhaohao Liang (JIRA)" To: common-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HADOOP-13353) LdapGroupsMapping getPassward shouldn't return null when IOException throws MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 08 Jul 2016 02:30:14 -0000 Zhaohao Liang created HADOOP-13353: -------------------------------------- Summary: LdapGroupsMapping getPassward shouldn't return null when IOException throws Key: HADOOP-13353 URL: https://issues.apache.org/jira/browse/HADOOP-13353 Project: Hadoop Common Issue Type: Bug Components: security Affects Versions: 2.6.0 Reporter: Zhaohao Liang When IOException throws in getPassword(), getPassword() return null String, this will cause setConf() throws java.lang.NullPointerException when check isEmpty() on null string. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-dev-help@hadoop.apache.org