JDBC:JtdsStatement.finalize()在10秒后超时

时间:2019-02-23 03:36:29

标签: exception jdbc fatal-error finalizer sourceforge

有人知道如何解决这个问题吗?

  

E / Android运行时:致命例外:FinalizerWatchdogDaemon           流程:com.dargoz.apps,PID:19327           java.util.concurrent.TimeoutException:net.sourceforge.jtds.jdbc.JtdsStatement.finalize()在10秒后超时               在net.sourceforge.jtds.jdbc.SharedSocket.getNetPacket(SharedSocket.java:716)               在net.sourceforge.jtds.jdbc.ResponseStream.getPacket(ResponseStream.java:477)               在net.sourceforge.jtds.jdbc.ResponseStream.read(ResponseStream.java:146)               在net.sourceforge.jtds.jdbc.ResponseStream.readString(ResponseStream.java:301)               在net.sourceforge.jtds.jdbc.ResponseStream.readNonUnicodeString(ResponseStream.java:285)               在net.sourceforge.jtds.jdbc.TdsData.readData(TdsData.java:936)               在net.sourceforge.jtds.jdbc.TdsCore.tdsRowToken(TdsCore.java:3073)               在net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2340)               在net.sourceforge.jtds.jdbc.TdsCore.clearResponseQueue(TdsCore.java:736)               在net.sourceforge.jtds.jdbc.JtdsStatement.reset(JtdsStatement.java:723)               在net.sourceforge.jtds.jdbc.JtdsStatement.close(JtdsStatement.java:972)               在net.sourceforge.jtds.jdbc.JtdsStatement.finalize(JtdsStatement.java:220)               在java.lang.Daemons $ FinalizerDaemon.doFinalize(Daemons.java:222)               在java.lang.Daemons $ FinalizerDaemon.run(Daemons.java:209)               在java.lang.Thread.run(Thread.java:762)

我有一个使用jdbc连接到SQLServer的程序,通常会出现此错误

0 个答案:

没有答案