Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 71868 invoked from network); 22 Dec 2009 10:08:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Dec 2009 10:08:17 -0000 Received: (qmail 66155 invoked by uid 500); 22 Dec 2009 10:06:37 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 62696 invoked by uid 500); 22 Dec 2009 10:06:28 -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 54768 invoked by uid 99); 22 Dec 2009 09:38:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Dec 2009 09:38:56 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI 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, 22 Dec 2009 09:38:49 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6C351234C045 for ; Tue, 22 Dec 2009 01:38:29 -0800 (PST) Message-ID: <1502425799.1261474709416.JavaMail.jira@brutus> Date: Tue, 22 Dec 2009 09:38:29 +0000 (UTC) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-4489) NetXAResource.start() throws NullPointerException when connection to server is lost In-Reply-To: <23756757.1261474229708.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-4489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Anders Hatlen updated DERBY-4489: -------------------------------------- Component/s: (was: JDBC) Network Client Issue & fix info: [Repro attached] > NetXAResource.start() throws NullPointerException when connection to server is lost > ----------------------------------------------------------------------------------- > > Key: DERBY-4489 > URL: https://issues.apache.org/jira/browse/DERBY-4489 > Project: Derby > Issue Type: Bug > Components: Network Client > Affects Versions: 10.5.3.0, 10.6.0.0 > Reporter: Knut Anders Hatlen > Attachments: XA_NPE_Repro.java > > > If you have a ClientXAConnection and then stop or restart the network server, subsequent calls to XAResource.start() will fail with a NullPointerException: > Exception in thread "main" java.lang.NullPointerException > at org.apache.derby.client.net.Request.sendBytes(Request.java:1415) > at org.apache.derby.client.net.Request.flush(Request.java:1409) > at org.apache.derby.client.net.NetAgent.sendRequest(NetAgent.java:387) > at org.apache.derby.client.net.NetAgent.flush_(NetAgent.java:267) > at org.apache.derby.client.am.Agent.flowOutsideUOW(Agent.java:196) > at org.apache.derby.client.net.NetXAResource.start(NetXAResource.java:626) > at XA_NPE_Repro.main(XA_NPE_Repro.java:21) > (This bug was originally seen when running failure-injection tests against GlassFish with an XA connection pool and connection validation turned off.) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.