Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 36864 invoked from network); 4 Apr 2011 06:43:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Apr 2011 06:43:00 -0000 Received: (qmail 52157 invoked by uid 500); 4 Apr 2011 06:42:58 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 51822 invoked by uid 500); 4 Apr 2011 06:42:54 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 51806 invoked by uid 99); 4 Apr 2011 06:42:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2011 06:42:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2011 06:42:45 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id DA94C914A3 for ; Mon, 4 Apr 2011 06:42:05 +0000 (UTC) Date: Mon, 4 Apr 2011 06:42:05 +0000 (UTC) From: "Andruschuk Borislav (JIRA)" To: issues@hbase.apache.org Message-ID: <1443818314.31899.1301899325892.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HBASE-3728) NPE in HTablePool.closeTablePool MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org NPE in HTablePool.closeTablePool -------------------------------- Key: HBASE-3728 URL: https://issues.apache.org/jira/browse/HBASE-3728 Project: HBase Issue Type: Bug Components: client Affects Versions: 0.90.1 Reporter: Andruschuk Borislav Priority: Minor When I use HTablePool and try to close it on application shutdown I've got NPE calling closeTablePool method because I didn't borrow any tables with the given name. Could you please add a null check for queue in closeTablePool or add ability to get all table names used in a pool or just add a destroy method to close all existed table in a pool. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira