Tuesday, May 4, 2010

[android-developers] How to narrow down the method that is involved in exception from the pid

Hello,

I was getting IllegalStateException caused by the cursor. The logcat
is as follows:
Ljava/lang/IllegalStateException;: Finalizing cursor
android.database.sqlite.SQLiteCursor@437c0e60 on null that has not
been deactivated or closed

I/dalvikvm( 585): at
android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:596)

I/dalvikvm( 585): at dalvik.system.NativeStart.run(Native Method)

I/dalvikvm( 585): Uncaught exception thrown by finalizer (will be
discarded):

I understand the 585 is PID but I have used many cursor which I have
taken care off properly. But may one among those is giving this
exception. I was unable to narrow down to particular portion in the
code from this exception.

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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate