[ 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 <ism...@juma.me.uk> 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)