I have been experiencing a NPE when calling createStatement on a connection
obtained from DefaultDS.

java.lang.NullPointerException
        at
org.jboss.resource.adapter.jdbc.local.StatementInPool.<init>(StatementInPool
.java:35)
        at
org.jboss.resource.adapter.jdbc.local.ConnectionInPool.createStatement(Conne
ctionInPool.java:606)

This doesn't always occur and I have only noticed it in the last week or so,
previously it worked fine.  

It occurs after a previous statement throws an SQLException.  In other words
if you are using the connections from DefaultDS everything is fine until one
of your SQL queries causes an SQL exception.  After this point you get a NPE
every time you try to create another statement from a connection for
DefaultDS.

I think (though I don't know for sure) that it has been caused by a change
to the Object pool code made last week sometime.

I hope someone out there can help.

Thanks
David.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.298 / Virus Database: 161 - Release Date: 11/13/2001
 

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to