db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-95) NPE when passing in url instead of database name to EmbeddedXADataSource
Date Wed, 08 Dec 2004 14:58:11 GMT
     [ http://nagoya.apache.org/jira/browse/DERBY-95?page=comments#action_56385 ]
Myrna van Lunteren commented on DERBY-95:

stack from test case is:
	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:

> 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:
If you want more information on JIRA, or have a bug to report see:

View raw message