Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 60562 invoked from network); 10 Jun 2008 13:11:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jun 2008 13:11:09 -0000 Received: (qmail 81537 invoked by uid 500); 10 Jun 2008 13:11:11 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 81318 invoked by uid 500); 10 Jun 2008 13:11:10 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 81307 invoked by uid 99); 10 Jun 2008 13:11:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jun 2008 06:11:10 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jun 2008 13:10:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5FB2A234C137 for ; Tue, 10 Jun 2008 06:10:45 -0700 (PDT) Message-ID: <560867465.1213103445363.JavaMail.jira@brutus> Date: Tue, 10 Jun 2008 06:10:45 -0700 (PDT) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Resolved: (DERBY-3307) NPE in PooledConnction event notification handling if a null listener is added In-Reply-To: <4251389.1199876436035.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 [ https://issues.apache.org/jira/browse/DERBY-3307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Anders Hatlen resolved DERBY-3307. --------------------------------------- Resolution: Fixed Fix Version/s: 10.4.1.4 Merged to 10.4 and committed revision 666094. > NPE in PooledConnction event notification handling if a null listener is added > ------------------------------------------------------------------------------ > > Key: DERBY-3307 > URL: https://issues.apache.org/jira/browse/DERBY-3307 > Project: Derby > Issue Type: Bug > Components: JDBC > Affects Versions: 10.3.2.1, 10.4.1.3 > Reporter: Kristian Waagan > Assignee: Knut Anders Hatlen > Priority: Minor > Fix For: 10.4.1.4, 10.5.0.0 > > Attachments: d3307.diff, derby-3307-1a-test_repro.diff > > > If a null reference is passed in to one of the ClientPooledConnection.addXEventListener, a NPE will be thrown if an event occurs. > I will attach a simple repro as a patch to the test jdbc4.StatementEventsTests. I believe the situation is the same for connection event listeners. > I have found no information in the specs regarding null listeners, but I assume it would be okay to ignore them. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.