Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 77210 invoked from network); 16 Nov 2007 19:49:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Nov 2007 19:49:57 -0000 Received: (qmail 5716 invoked by uid 500); 16 Nov 2007 19:49:42 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 5688 invoked by uid 500); 16 Nov 2007 19:49:42 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 5677 invoked by uid 99); 16 Nov 2007 19:49:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2007 11:49:42 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 65.213.64.85 is neither permitted nor denied by domain of jason.valentine@surelogic.com) Received: from [65.213.64.85] (HELO [65.213.64.85]) (65.213.64.85) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2007 19:49:30 +0000 Received: from zimbra.surelogic.com by [65.213.64.85] via smtpd (for athena.apache.org [140.211.11.136]) with ESMTP; Fri, 16 Nov 2007 14:47:47 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.surelogic.com (Postfix) with ESMTP id 4457AC6C004 for ; Fri, 16 Nov 2007 14:49:04 -0500 (EST) X-Virus-Scanned: amavisd-new at X-Spam-Score: -4.363 X-Spam-Level: Received: from zimbra.surelogic.com ([127.0.0.1]) by localhost (zimbra.surelogic.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XmL5cN9zocTZ for ; Fri, 16 Nov 2007 14:49:03 -0500 (EST) Received: from zimbra.surelogic.com (localhost [127.0.0.1]) by zimbra.surelogic.com (Postfix) with ESMTP id 815BDC6C001 for ; Fri, 16 Nov 2007 14:49:03 -0500 (EST) Date: Fri, 16 Nov 2007 14:49:03 -0500 (EST) From: Jason Valentine To: derby-user@db.apache.org Message-ID: <4638528.13021195242543462.JavaMail.root@zimbra.surelogic.com> Subject: Possible bug in CachedPage class MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.11.235] X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-4.363 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, AWL=0.036, BAYES_00=-2.599] Has anyone else seen this issue in the org.apache.derby.impl.store.raw.data.CachedPage class? In the writePage() method, there's a test of the myContainer reference to ensure it's not null (line 771), however in the else block, myContainer is dereferenced (line 836), where a NullPointerException is guaranteed to be thrown. This is in Derby 3.1.4. I searched through JIRA, but didn't find anything on this. If anyone else can confirm that this is an issue, I'll put in a report on it. Thanks, Jason -- Jason Valentine SureLogic, Inc. Field Applications Engineer www.surelogic.com Three Penn Center West, Suite 300 Pittsburgh, PA 15276 (412) 512-3918