java.lang.Throwable: Explicit termination method 'close' not called

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

Samebug tips

,

The Throwable class is the superclass of all errors and exceptions in the Java language. You need to explicitly call the dispose() before your application goes out of scope.

Solutions on the web

via GitHub by mingchen
, 1 year ago
via GitHub by SaeedMasoumi
, 1 year ago
Explicit termination method 'close' not called
via GitHub by dlet24
, 1 year ago
Explicit termination method 'close' not called
via askmefast.com by Unknown author, 2 years ago
Explicit termination method close not called
via GitHub by seroperson
, 2 years ago
Explicit termination method 'close' not called
via GitHub by alexitelman
, 1 year ago
Explicit termination method 'close' not called
java.lang.Throwable: Explicit termination method 'close' not called
at dalvik.system.CloseGuard.open(CloseGuard.java:180)
at com.android.okhttp.internal.http.SocketConnector.connectTls(SocketConnector.java:103)
at com.android.okhttp.Connection.connect(Connection.java:143)
at com.android.okhttp.Connection.connectAndSetOwner(Connection.java:185)
at com.android.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:128)
at com.android.okhttp.internal.http.HttpEngine.nextConnection(HttpEngine.java:341)
at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:330)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:437)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:114)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:245)
at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:218)
at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java)
at net.hockeyapp.android.metrics.Sender.getWriter(Sender.java:398)
at net.hockeyapp.android.metrics.Sender.logRequest(Sender.java:320)
at net.hockeyapp.android.metrics.Sender.send(Sender.java:141)
at net.hockeyapp.android.metrics.Sender.sendAvailableFiles(Sender.java:126)
at net.hockeyapp.android.metrics.Sender$1.doInBackground(Sender.java:86)
at net.hockeyapp.android.metrics.Sender$1.doInBackground(Sender.java:82)
at android.os.AsyncTask$2.call(AsyncTask.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

Once, 1 month ago
144 times, 3 months ago
2 times, 4 months ago
49 times, 5 months ago
Once, 6 months ago

Write tip

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