I guess I should have said that you should wrap all of your code using
a particular cursor in a try/finally expression.

Marc

On May 3, 12:49 pm, Marc <[email protected]> wrote:
> The implication is that you haven't used cursor.close() and left an
> "open" cursor around when your activity/service was destroyed.   You
> either need to do this manually, or make sure you're using a managed
> cursor.
>
> If you're not using a managed cursor, you should wrap every cursor
> creation with a try/finally expression.
>
> Marc
>
> On Apr 25, 3:37 pm, andrew <[email protected]> wrote:
>
> > Hi,
> > When I debug I constantly get SQLiteCursor exceptions (see below) that
> > don't seem to affect the program functioning or reference any of my
> > code but make debugging a pain.  Is this normal or indicative of a
> > problem with my system or code?
>
> > Daemon System Thread [<5> HeapWorker] (Suspended (exception
> > IllegalStateException))
> >         SQLiteCursor.finalize() line: 448
> >         NativeStart.run() line: not available [native method]
>
> > Thanks,
> > Andrew
--~--~---------~--~----~------------~-------~--~----~
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