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 CE14B200B17 for ; Tue, 7 Jun 2016 04:35:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CCD20160A56; Tue, 7 Jun 2016 02:35:22 +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 22EEC160A55 for ; Tue, 7 Jun 2016 04:35:21 +0200 (CEST) Received: (qmail 38352 invoked by uid 500); 7 Jun 2016 02:35:21 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 38326 invoked by uid 99); 7 Jun 2016 02:35:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jun 2016 02:35:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 11FD82C1F5D for ; Tue, 7 Jun 2016 02:35:21 +0000 (UTC) Date: Tue, 7 Jun 2016 02:35:21 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KAFKA-3781) Errors.exceptionName() can throw NPE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 07 Jun 2016 02:35:23 -0000 [ https://issues.apache.org/jira/browse/KAFKA-3781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15317697#comment-15317697 ] ASF GitHub Bot commented on KAFKA-3781: --------------------------------------- GitHub user ijuma opened a pull request: https://github.com/apache/kafka/pull/1476 KAFKA-3781; Errors.exceptionName() can throw NPE You can merge this pull request into a Git repository by running: $ git pull https://github.com/ijuma/kafka kafka-3781-exception-name-npe Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/1476.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1476 ---- commit d2b09a1309037ab569c8c8b0720b0e8671d4f3a1 Author: Ismael Juma Date: 2016-06-07T02:33:45Z KAFKA-3781; Errors.exceptionName() can throw NPE ---- > Errors.exceptionName() can throw NPE > ------------------------------------ > > Key: KAFKA-3781 > URL: https://issues.apache.org/jira/browse/KAFKA-3781 > Project: Kafka > Issue Type: Bug > Affects Versions: 0.10.0.0 > Reporter: Grant Henke > Assignee: Ismael Juma > Labels: newbie++ > Fix For: 0.10.0.1 > > > When calling Errors.exceptionName() on the NONE error an NPE is thrown. > {noformat} > public String exceptionName() { > return exception.getClass().getName(); > } > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)