NPE in JtdsStatement.processResults
Brought to you by:
ickzon
Like bug 167, this is not reprodicible and is likely due to a race condition caused by two theads sharing the same connection from the connection pool.
java.lang.NullPointerException
at net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement.java:611)
at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:572)
at net.sourceforge.jtds.jdbc.JtdsStatement.executeImpl(JtdsStatement.java:809)
at net.sourceforge.jtds.jdbc.JtdsStatement.execute(JtdsStatement.java:1282)
JtdsStatement.tdc is set to null in JtdsStatement.close(). This is unnecessary and makes JtdsStatement less robust. You might want to consider making JtdsStatement.tds a private final variable.
jTDS 1.3.1
Tomcat 8.0.23
Java 1.8.0_92
I should have said, "like bug 761".
Also, this bug should have been created against 1.3.