java.sql.SQLException: While closing connection

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Apache's JIRA Issue Tracker by Victoria Markman, 1 year ago
While closing connection
via Google Groups by Sanjay Mhaske, 1 year ago
via GitHub by Yancey1989
, 1 year ago
error while executing SQL "select * from (select t2.brand from (select brand,count(1) from DEMO group by brand having count(1) >=2) t1 join (select brand from DEMO ) t2 on t1.brand = t2.brand group by t2.brand) t3 LIMIT 50000": null
via Google Groups by kunal mahale, 1 year ago
via GitHub by corndolly
, 2 years ago
exception while executing query: java.lang.String cannot be cast to java.lang.Integer
via by Unknown author, 2 years ago
error while executing SQL "select "empid" from "hr"."emps" -- select": parse failed: Lexical error at line 2, column 10. Encountered: <EOF> after : ""
java.lang.IllegalStateException: Failure while closing accountor. Expected private and shared pools to be set to initial values. However, one or more were not. Stats are zone init allocated delta private 0 0 0 shared 8589934592 8589934115 477.
at org.apache.drill.exec.memory.AtomicRemainder.close(
at org.apache.drill.exec.memory.Accountor.close(
at org.apache.drill.exec.memory.TopLevelAllocator.close(
at org.apache.drill.exec.client.DrillClient.close(
at org.apache.drill.jdbc.impl.DrillConnectionImpl.cleanup(
at org.apache.drill.jdbc.impl.DrillHandler.onConnectionClose(
at net.hydromatic.avatica.AvaticaConnection.close(
at sqlline.Commands.close(
at sqlline.Commands.quit(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at sqlline.ReflectiveCommandHandler.execute(
at sqlline.SqlLine.dispatch(
at sqlline.SqlLine.initArgs(
at sqlline.SqlLine.begin(
at sqlline.SqlLine.start(
at sqlline.SqlLine.main(

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.