Skip to content

Commit

Permalink
HBASE-28452 Missing null check of rpcServer.scheduler.executor causes…
Browse files Browse the repository at this point in the history
… NPE with invalid value of hbase.client.default.rpc.codec (#5778)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit f412bdb)
  • Loading branch information
teamconfx authored and Apache9 committed Mar 28, 2024
1 parent 151bd60 commit 4ba1bb0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ public void start() {

@Override
public void stop() {
this.executor.shutdown();
if (this.executor != null) {
this.executor.shutdown();
}
}

private static class FifoCallRunner implements Runnable {
Expand Down

0 comments on commit 4ba1bb0

Please sign in to comment.