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

Resource leak in GZipContent.writeTo #61

Closed
wonderfly opened this issue Jan 9, 2015 · 4 comments
Closed

Resource leak in GZipContent.writeTo #61

wonderfly opened this issue Jan 9, 2015 · 4 comments
Assignees
Labels
🚨 This issue needs some love. triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@wonderfly
Copy link
Contributor

From rmis...@google.com on January 24, 2012 14:05:49

Reported by aalbert:

01-20 15:12:30.200 4695 4704 E StrictMode: java.lang.Throwable: Explicit termination method 'end' not called
01-20 15:12:30.200 4695 4704 E StrictMode: at dalvik.system.CloseGuard.open(CloseGuard.java:184)
01-20 15:12:30.200 4695 4704 E StrictMode: at java.util.zip.Deflater.(Deflater.java:192)
01-20 15:12:30.200 4695 4704 E StrictMode: at java.util.zip.GZIPOutputStream.(GZIPOutputStream.java:75)
01-20 15:12:30.200 4695 4704 E StrictMode: at java.util.zip.GZIPOutputStream.(GZIPOutputStream.java:59)
01-20 15:12:30.200 4695 4704 E StrictMode: at com.google.api.client.http.GZipContent.writeTo(GZipContent.java:45)
01-20 15:12:30.200 4695 4704 E StrictMode: at com.google.api.client.http.AbstractHttpContent.computeLength(AbstractHttpContent.java:66)
01-20 15:12:30.200 4695 4704 E StrictMode: at com.google.api.client.http.AbstractHttpContent.getLength(AbstractHttpContent.java:46)
01-20 15:12:30.200 4695 4704 E StrictMode: at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:616)
01-20 15:12:30.200 4695 4704 E StrictMode: at com.google.api.client.http.json.JsonHttpClient.execute(JsonHttpClient.java:257)
01-20 15:12:30.200 4695 4704 E StrictMode: at com.google.api.client.googleapis.services.GoogleClient.execute(GoogleClient.java:121)
01-20 15:12:30.200 4695 4704 E StrictMode: at com.google.api.client.http.json.JsonHttpRequest.executeUnparsed(JsonHttpRequest.java:67)
01-20 15:12:30.200 4695 4704 E StrictMode: at com.google.api.services.calendar.Calendar$Events$Update.execute(Calendar.java:2979)

Original issue: http://code.google.com/p/google-http-java-client/issues/detail?id=61

@wonderfly wonderfly added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. imported labels Jan 9, 2015
@wonderfly wonderfly self-assigned this Jan 9, 2015
@wonderfly
Copy link
Contributor Author

From rmis...@google.com on January 24, 2012 14:06:04

Owner: rmis...@google.com

@wonderfly
Copy link
Contributor Author

From rmis...@google.com on January 24, 2012 14:06:19

Status: Accepted

@wonderfly
Copy link
Contributor Author

From rmis...@google.com on January 25, 2012 07:17:06

Summary: Resource leak in GZipContent.writeTo

@wonderfly
Copy link
Contributor Author

From rmis...@google.com on February 15, 2012 15:48:45

http://codereview.appspot.com/5482047/

Status: Fixed

@yoshi-automation yoshi-automation added triage me I really want to be triaged. 🚨 This issue needs some love. labels Apr 6, 2020
clundin25 pushed a commit to clundin25/google-http-java-client that referenced this issue Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚨 This issue needs some love. triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants