Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strict mode violation in HttpClient #115

Closed
DonSimonBolivar opened this issue Aug 9, 2016 · 1 comment
Closed

Strict mode violation in HttpClient #115

DonSimonBolivar opened this issue Aug 9, 2016 · 1 comment

Comments

@DonSimonBolivar
Copy link

E/StrictMode(21768): A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
E/StrictMode(21768): java.lang.Throwable: Explicit termination method 'end' not called
E/StrictMode(21768): at dalvik.system.CloseGuard.open(CloseGuard.java:184)
E/StrictMode(21768): at java.util.zip.Inflater.(Inflater.java:82)
E/StrictMode(21768): at java.util.zip.GZIPInputStream.(GZIPInputStream.java:103)
E/StrictMode(21768): at java.util.zip.GZIPInputStream.(GZIPInputStream.java:88)
E/StrictMode(21768): at com.braintreepayments.api.internal.HttpClient.readStream(HttpClient.java:292)
E/StrictMode(21768): at com.braintreepayments.api.internal.HttpClient.parseResponse(HttpClient.java:241)
E/StrictMode(21768): at com.braintreepayments.api.internal.BraintreeHttpClient.parseResponse(BraintreeHttpClient.java:121)
E/StrictMode(21768): at com.braintreepayments.api.internal.HttpClient$1.run(HttpClient.java:154)
E/StrictMode(21768): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
E/StrictMode(21768): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
E/StrictMode(21768): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
E/StrictMode(21768): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
E/StrictMode(21768): at java.lang.Thread.run(Thread.java:818)
W/System.err(21768): StrictMode VmPolicy violation with POLICY_DEATH; shutting down.

@lkorth lkorth closed this as completed in df52355 Aug 9, 2016
@lkorth
Copy link
Member

lkorth commented Aug 9, 2016

@DonSimonBolivar thank you for bringing this to our attention. It has been fixed and will be available in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants