mudar/MontrealJustInCase — Issue #10: Honeycomb crash
Author: mudar
Created: 2011-11-20 22:12:23+00:00
State: open

**What steps will reproduce the problem?**
1. First launch of application
2. Access a map or a list
3. Menu / Open in GMaps (or launch another app)

**What is the expected output? What do you see instead?**
Expected: no crash!
Error log on crash:
```Log
java.lang.RuntimeException: Unable to resume activity {ca.mudar.mtlaucasou/ca.mudar.mtlaucasou.ui.EmergencyHostelsMapActivity}: java.lang.IllegalStateException: trying to requery an already closed cursor
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2230)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2258)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1031)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:132)
at android.app.ActivityThread.main(ActivityThread.java:4028)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:491)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:844)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalStateException: trying to requery an already closed cursor
at android.app.Activity.performRestart(Activity.java:4394)
at android.app.Activity.performResume(Activity.java:4420)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2220)
... 10 more
```