> Ljava/lang/IllegalStateException;: Finalizing cursor > android.database.sqlite.sqlitecur...@437c0e60 on null that has not > been deactivated or closed
This is a strange one. I find that this error is given in two situations 1/ When I forgot to close a cursor. 2/ When I dumbly tried to reuse a cursor without first closing the old instance. That is I forgot to close a cursor. The two hints you have to finding the cursor are 1/ the table name - which mysteriously in your case is null, and 2/ the object address I'd look for a query that has "null" where the table name should be. and If you have some idea as to roughly where this is,and not to many cursors, splash a few.. Log.i(TAG, myCursorHere.toString()) after your queries to get the address for each cursor you created. > Could anybody help me to know, how could I understand which cursor / > line of code , from the error that I see in the logcat > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group > athttp://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en