Getting TDS driver - java.lang.NullPointerException. this exception is not consistent
问题 I am getting exception when a method is called from 3 or 4 threads. This method get a DataBase connection inside method and populate some values from DB and then connection (connection, resultset and prepareStatement) getting closed properly inside method only. Still getting exception. Thread_1 - abc() method called. connection opened and closed inside method. Thread_2 - abc() method called. connection opened and closed inside method. Thread_3 - abc() method called. connection opened and