While pooking around i found and :

Uncommented body of deleteObject(pooledObject) - line 71 of

org/jboss/resource/connectionmanager.ManagedConnectionPoolFactory.java

(it seems this is called when the pool shrinks or is shut down.
some test -is shrinking the pool to [0/0/10] and as a effect the next test
using the DefaultDS do not have a connection ? ... it should probably create
one before trying to create a table ? ...)

***

Now when running run-testsuite I have 169 tests running and 1 error
99.41% Success rate - heh ...

So the xa test is failing above - We knew that - and disabeling it should
render a cool 100% of the 169 tests ! ...

/peter_f

on 1-11-26 22.54, David Maplesden at [EMAIL PROTECTED] wrote:

> 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


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

Reply via email to