Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 88433 invoked from network); 8 Dec 2004 14:58:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Dec 2004 14:58:39 -0000 Received: (qmail 60579 invoked by uid 500); 8 Dec 2004 14:58:17 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 60535 invoked by uid 500); 8 Dec 2004 14:58:16 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 60426 invoked by uid 99); 8 Dec 2004 14:58:15 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 08 Dec 2004 06:58:13 -0800 Received: (qmail 1709 invoked from network); 8 Dec 2004 14:58:11 -0000 Received: from localhost (HELO nagoya) (127.0.0.1) by nagoya.betaversion.org with SMTP; 8 Dec 2004 14:58:11 -0000 Message-ID: <1442657806.1102517891881.JavaMail.apache@nagoya> Date: Wed, 8 Dec 2004 06:58:11 -0800 (PST) From: "Myrna van Lunteren (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-95) NPE when passing in url instead of database name to EmbeddedXADataSource In-Reply-To: <1296411667.1102461428914.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://nagoya.apache.org/jira/browse/DERBY-95?page=comments#action_56385 ] Myrna van Lunteren commented on DERBY-95: ----------------------------------------- stack from test case is: java.lang.NullPointerException java.lang.NullPointerException at org.apache.derby.jdbc.EmbeddedXADataSource.setupResourceAdapter(EmbeddedXADataSource.java) at org.apache.derby.jdbc.EmbeddedXADataSource.getXAConnection(EmbeddedXADataSource.java) at xaurl.runTests(xaurl.java:51) at xaurl.main(xaurl.java:26) > NPE when passing in url instead of database name to EmbeddedXADataSource > ------------------------------------------------------------------------ > > Key: DERBY-95 > URL: http://nagoya.apache.org/jira/browse/DERBY-95 > Project: Derby > Type: Bug > Components: JDBC > Reporter: Myrna van Lunteren > Priority: Minor > Fix For: 10.0.2.1 > > When passing in a url (e.g. jdbc:derby:mydb) instead of just the database name (e.g. mydb) the XADataSource gives a NullPointerException. > It should either handle this a little more gracefully & give an error, or accept the url (like EmbeddedDataSource does). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira