Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 3573 invoked from network); 24 Apr 2006 20:37:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Apr 2006 20:37:45 -0000 Received: (qmail 57836 invoked by uid 500); 24 Apr 2006 20:37:43 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 57767 invoked by uid 500); 24 Apr 2006 20:37:42 -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 57644 invoked by uid 99); 24 Apr 2006 20:37:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Apr 2006 13:37:42 -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; Mon, 24 Apr 2006 13:37:41 -0700 Received: from brutus (localhost.localdomain [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B816D410009 for ; Mon, 24 Apr 2006 20:36:32 +0000 (GMT) Message-ID: <15260746.1145910992751.JavaMail.jira@brutus> Date: Mon, 24 Apr 2006 20:36:32 +0000 (GMT+00:00) From: "Andrew McIntyre (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Reopened: (DERBY-757) java.lang.NullPointerException can occur while scanning for global id in the transaction table under heavey load. In-Reply-To: <2038162725.1134505547583.JavaMail.jira@ajax.apache.org> 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/DERBY-757?page=all ] Andrew McIntyre reopened DERBY-757: ----------------------------------- > java.lang.NullPointerException can occur while scanning for global id in the transaction table under heavey load. > --------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-757 > URL: http://issues.apache.org/jira/browse/DERBY-757 > Project: Derby > Type: Bug > Components: Store > Versions: 10.2.0.0, 10.1.3.0, 10.1.2.2, 10.0.2.2 > Reporter: Suresh Thalamati > Assignee: Mike Matrigali > Fix For: 10.2.0.0, 10.1.2.2 > > TransactonTable.java: > public ContextManager findTransactionContextByGlobalId( > .... > if (entry.getGid() != null && > entry.getGid().equals(global_id)) > --- > } > In the above code gid in the entry can get set to null , if the transaction the entry referes to is committed. > So second part of the above condition can get a NPE. -- 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