Subject NPE in deallocate()
Author Carsten Schäfer
Hi,
In one of my tests i got the following exception every time i tried to get a new Connection.
45 Minutes before everything was working fine.

java.lang.NullPointerException
at org.firebirdsql.pool.PingablePooledConnection.deallocate(PingablePooledConnection.java:266)
at org.firebirdsql.pool.PooledConnectionQueue.destroyConnection(PooledConnectionQueue.java:217)
at org.firebirdsql.pool.AbstractConnectionPool.getPooledConnection(AbstractConnectionPool.java:232)
at org.firebirdsql.pool.FBConnectionPoolDataSource.getPooledConnection(FBConnectionPoolDataSource.java:348)
at org.firebirdsql.pool.FBConnectionPoolDataSource.getPooledConnection(FBConnectionPoolDataSource.java:367)
at org.firebirdsql.pool.FBWrappingDataSource.getConnection(FBWrappingDataSource.java:203)
at com.TTC_Informatik.PAULA.server.App_Server.getConnection(App_Server.java:10151)


I' using WinXP, Firebird 1.5.1 Jaybird 1.5.0.
I created the datasource the following way:
dataSource = new FBWrappingDataSource();
dataSource.setType("type4");
dataSource.setDatabase(dbRechner + "/" + port + ":" + db);
dataSource.setUserName(user);
dataSource.setPassword(passwort);
dataSource.setEncoding("WIN1252");
dataSource.setMinPoolSize(5);
dataSource.setMaxPoolSize(30);
dataSource.setPooling(true);
dataSource.setStatementPooling(true);
dataSource.setBlockingTimeout(20000);
dataSource.setMaxIdleTime(3600000);



mfg
Carsten

[Non-text portions of this message have been removed]