You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Viraj Jasani (Jira)" <ji...@apache.org> on 2020/07/20 13:31:00 UTC
[jira] [Comment Edited] (HBASE-24570) connection#close throws NPE
[ https://issues.apache.org/jira/browse/HBASE-24570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17161230#comment-17161230 ]
Viraj Jasani edited comment on HBASE-24570 at 7/20/20, 1:30 PM:
----------------------------------------------------------------
Let's wait for 2.2.6 RC to go through? This is applicable to all active branch-2.x.
was (Author: vjasani):
Let's wait for 2.2.6 RC to go through?
> connection#close throws NPE
> ---------------------------
>
> Key: HBASE-24570
> URL: https://issues.apache.org/jira/browse/HBASE-24570
> Project: HBase
> Issue Type: Bug
> Components: Client
> Affects Versions: 2.2.3
> Reporter: Bo Cui
> Assignee: Bo Cui
> Priority: Minor
>
> In the ConnectionImplementation construction method, if getRegistry throws exception, registry will be null,and then close will throw NPE
> {code:java}
> try {
> this.registry = AsyncRegistryFactory.getRegistry(conf);
> ...
> } catch (Throwable e) {
> // avoid leaks: registry, rpcClient, ...
> LOG.debug("connection construction failed", e);
> close();
> throw e;
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)