THIS FIX IS ONLY INTENDED FOR WAS 3.0.2 PTF2. PMR: 26013 APAR: pq44924 VERSION: WebSphere Advanced 3.0.2 ptf2 Description: NullPointerException occurs on connection.close() after the connection has been preempted. Solution: ConnectionPreemptedException is caught and rethrown out of the close method. The user is responsible for catching the ConnectionPreemptedException and acting accordingly. Symptoms: NullPointerException occurs on close of a connection. After this, executing a query on a statement of some sort will also get a NullPointerException. Eventually, getConnection will error out as well. Directions to apply fix: 1) create a directory to store the jar file (e.g. c:\WebSphere\AppServer\efix) 2) copy the jar file into the directory 3) add the directory/jar file to the begining of the admin server's classpath in admin.config: com.ibm.ejs.sm.adminserver.classpath=C:/WebSphere/AppServer/efix/PQ44924.jar; ... 4) Stop and restart the Admin Server In addition, it is essential that the exception 'ConnectionPreemptedException' , which extends SQLException, is always caught in your code. For example, if closing the connection in the finally clause, make sure to add something like the following code: finally{ if (conn != null) { try { conn.close(); } catch (ConnectionPreemptedException ex) { //can ignore an exception here since we are trying to close the connection } } }