A resource is acquired at attached stack trace but never released.__java.lang.throwable

Source: Internet
Author: User
Tags stack trace throwable

A resource is acquired at attached stack trace but never released. E/STRICTMODE:A resource is acquired at attached stack trace but never. Java.io.Closeable for information on avoiding resource leaks.
Java.lang.Throwable:Explicit Termination method ' Response.body (). Close () ' not called
At Dalvik.system.CloseGuard.open (closeguard.java:180)
At Java.lang.reflect.Method.invoke (Native method)
At Okhttp3.internal.platform.androidplatform$closeguard.createandopen (androidplatform.java:272)
At Okhttp3.internal.platform.AndroidPlatform.getStackTraceForCloseable (androidplatform.java:138)
At OKHTTP3. Realcall.capturecallstacktrace (realcall.java:78)
At OKHTTP3. Realcall.enqueue (realcall.java:87)
At Com.lzy.okgo.cache.policy.BaseCachePolicy.requestNetworkAsync (basecachepolicy.java:129)
At Com.lzy.okgo.cache.policy.nocachepolicy$3.run (nocachepolicy.java:85)
At Android.os.Handler.handleCallback (handler.java:761)
At Android.os.Handler.dispatchMessage (handler.java:98)
At Android.os.Looper.loop (looper.java:156)
At Android.app.ActivityThread.main (activitythread.java:6523)
At Java.lang.reflect.Method.invoke (Native method)
At Com.android.internal.os.zygoteinit$methodandargscaller.run (zygoteinit.java:942)
                                                                              at Com.android.internal.os.ZygoteInit.main (zygoteinit.java:832)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.