sebastianljunggren/WhatsUp — Issue #31: Bug Android HTTP Client
Author: kirayatail
Created: 2011-10-17 14:49:09+00:00
State: open

Steps:
* Start app
* Create Annotation
- Not logged in
* Log in
* Create Annotation
* Choose position
* Enter Title information
* Submit
- Returns to map view
* Refresh map
- Map shows new annotation
* Click annotation (try to bring out baloon)
- App dies
- Map doesn't show
- App dies

Stack print:
10-17 16:42:00.524: ERROR/AndroidHttpClient(931): Leak found
10-17 16:42:00.524: ERROR/AndroidHttpClient(931): java.lang.IllegalStateException: AndroidHttpClient created and never closed
10-17 16:42:00.524: ERROR/AndroidHttpClient(931): at android.net.http.AndroidHttpClient.(AndroidHttpClient.java:149)
10-17 16:42:00.524: ERROR/AndroidHttpClient(931): at android.net.http.AndroidHttpClient.newInstance(AndroidHttpClient.java:135)
10-17 16:42:00.524: ERROR/AndroidHttpClient(931): at android.net.http.AndroidHttpClient.newInstance(AndroidHttpClient.java:144)
10-17 16:42:00.524: ERROR/AndroidHttpClient(931): at nu.placebo.whatsup.network.NetworkCalls.performPostRequest(NetworkCalls.java:46)
10-17 16:42:00.524: ERROR/AndroidHttpClient(931): at nu.placebo.whatsup.network.AnnotationCreate.execute(AnnotationCreate.java:72)
10-17 16:42:00.524: ERROR/AndroidHttpClient(931): at nu.placebo.whatsup.network.NetworkTask.doInBackground(NetworkTask.java:17)
10-17 16:42:00.524: ERROR/AndroidHttpClient(931): at nu.placebo.whatsup.network.NetworkTask.doInBackground(NetworkTask.java:1)
10-17 16:42:00.524: ERROR/AndroidHttpClient(931): at nu.placebo.whatsup.android.os.AsyncTask$2.call(AsyncTask.java:104)
10-17 16:42:00.524: ERROR/AndroidHttpClient(931): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)
10-17 16:42:00.524: ERROR/AndroidHttpClient(931): at java.util.concurrent.FutureTask.run(FutureTask.java:138)
10-17 16:42:00.524: ERROR/AndroidHttpClient(931): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
10-17 16:42:00.524: ERROR/AndroidHttpClient(931): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
10-17 16:42:00.524: ERROR/AndroidHttpClient(931): at java.lang.Thread.run(Thread.java:1019)