Well, something has a managed cursor in that activity, one that is
closed. Are you integrating any third party code where you pass the
Activity as a parameter, where it might be creating the managed cursor
for you?

On Wed, Jun 1, 2011 at 1:02 PM, Stacy Young <[email protected]> wrote:
> This one has thrown me for a loop. I have an activity that dynamically
> renders forms based on a json structure. Works fine on everything prior to
> Honeycomb. There are no cursors and/or database access of any kind within
> this activity. However, any time the activity in question is resumed (altho
> never makes it to the callback onResume), I get a RTE complaining about a
> closed cursor.
>
> Is there anything under the hood relating that could be running amuck?
>
>
> 06-01 12:53:22.249: ERROR/AndroidRuntime(7329): FATAL EXCEPTION: main
> 06-01 12:53:22.249: ERROR/AndroidRuntime(7329): java.lang.RuntimeException:
> Unable to resume activity
> {com.adobe.livecycle/com.adobe.livecycle.activity.NativeFormView}:
> java.lang.IllegalStateException: trying to requery an already closed cursor
> 06-01 12:53:22.249: ERROR/AndroidRuntime(7329):     at
> android.app.ActivityThread.performResumeActivity(ActivityThread.java:2227)
> 06-01 12:53:22.249: ERROR/AndroidRuntime(7329):     at
> android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2255)
> 06-01 12:53:22.249: ERROR/AndroidRuntime(7329):     at
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1028)
> 06-01 12:53:22.249: ERROR/AndroidRuntime(7329):     at
> android.os.Handler.dispatchMessage(Handler.java:99)
> 06-01 12:53:22.249: ERROR/AndroidRuntime(7329):     at
> android.os.Looper.loop(Looper.java:132)
> 06-01 12:53:22.249: ERROR/AndroidRuntime(7329):     at
> android.app.ActivityThread.main(ActivityThread.java:4025)
> 06-01 12:53:22.249: ERROR/AndroidRuntime(7329):     at
> java.lang.reflect.Method.invokeNative(Native Method)
> 06-01 12:53:22.249: ERROR/AndroidRuntime(7329):     at
> java.lang.reflect.Method.invoke(Method.java:491)
> 06-01 12:53:22.249: ERROR/AndroidRuntime(7329):     at
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
> 06-01 12:53:22.249: ERROR/AndroidRuntime(7329):     at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
> 06-01 12:53:22.249: ERROR/AndroidRuntime(7329):     at
> dalvik.system.NativeStart.main(Native Method)
> 06-01 12:53:22.249: ERROR/AndroidRuntime(7329): Caused by:
> java.lang.IllegalStateException: trying to requery an already closed cursor
> 06-01 12:53:22.249: ERROR/AndroidRuntime(7329):     at
> android.app.Activity.performRestart(Activity.java:4394)
> 06-01 12:53:22.249: ERROR/AndroidRuntime(7329):     at
> android.app.Activity.performResume(Activity.java:4420)
> 06-01 12:53:22.249: ERROR/AndroidRuntime(7329):     at
> android.app.ActivityThread.performResumeActivity(ActivityThread.java:2217)
> 06-01 12:53:22.249: ERROR/AndroidRuntime(7329):     ... 10 more
>
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: http://marakana.com/training/android/

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to