Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 67162 invoked from network); 21 Jun 2006 18:50:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Jun 2006 18:50:59 -0000 Received: (qmail 53422 invoked by uid 500); 21 Jun 2006 18:50:56 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 53328 invoked by uid 500); 21 Jun 2006 18:50:56 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 53316 invoked by uid 99); 21 Jun 2006 18:50:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jun 2006 11:50:56 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jun 2006 11:50:55 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E0A93410006 for ; Wed, 21 Jun 2006 18:49:30 +0000 (GMT) Message-ID: <27414913.1150915770917.JavaMail.jira@brutus> Date: Wed, 21 Jun 2006 18:49:30 +0000 (GMT+00:00) From: "Phil Steitz (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Closed: (DBCP-190) NPE in SharedPoolDataSource.close() if pool was not created In-Reply-To: <13845247.1150912109918.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DBCP-190?page=all ] Phil Steitz closed DBCP-190: ---------------------------- Resolution: Duplicate This has been resolved as of 12-march-06 in svn trunk. This is a duplicate of http://issues.apache.org/jira/browse/DBCP-39. > NPE in SharedPoolDataSource.close() if pool was not created > ----------------------------------------------------------- > > Key: DBCP-190 > URL: http://issues.apache.org/jira/browse/DBCP-190 > Project: Commons Dbcp > Type: Bug > Versions: 1.2 Final > Reporter: Fedor Bokov > Priority: Critical > > SharedPoolDataSource.close() raises NPE if getConnection() was never called on this data source. > close() should check if( pool != null ) before calling pool.close() -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org