Thomas Fischer wrote:
> When I build the runtime and the org.apache.torque.avalon.AvalonTest is
> run, an exception stacktrace is printed about a NuLlPointerException at
> org.apache.commons.dbcp.datasources.SharedPoolDataSource.close(SharedPoolDataSource.java:64)
> 
> However, the test case succeeds. Is this something that needs looking
> into, or is this an expected behaviour ?
>
[...]
> java.lang.NullPointerException
>         at
> org.apache.commons.dbcp.datasources.SharedPoolDataSource.close(SharedPoolDataSource.java:64)

This is an unchecked null pointer to the DS.internal object pool in
commons-dbcp 1.2.1. This probably happens because this test does not
request a connection from the data source and thus no object pool is
created. The null check is present in 1.2.2.

Bye, Thomas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to