User: olegnitz Date: 01/08/10 13:32:13 Modified: src/main/org/jboss/pool/jdbc PreparedStatementInPool.java Log: Second invocation of close() caused NPE Revision Changes Path 1.2 +3 -1 jbosspool/src/main/org/jboss/pool/jdbc/PreparedStatementInPool.java Index: PreparedStatementInPool.java =================================================================== RCS file: /cvsroot/jboss/jbosspool/src/main/org/jboss/pool/jdbc/PreparedStatementInPool.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- PreparedStatementInPool.java 2001/05/15 07:58:24 1.1 +++ PreparedStatementInPool.java 2001/08/10 20:32:13 1.2 @@ -418,7 +418,9 @@ } public void close() throws SQLException { - con.statementClosed(this); + if (con != null) { + con.statementClosed(this); + } super.clearFields(); con = null; impl = null; _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development