Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Db Cursors exceptions in logcat (DatabaseObjectNotClosedException) #1

Open
neols opened this issue Apr 3, 2012 · 1 comment
Open

Comments

@neols
Copy link

neols commented Apr 3, 2012

While running tagin! engine, errors like this keep occuring in logcat (app seems not crashing by them):

04-03 10:56:30.346: E/Cursor(8974): Finalizing a Cursor that has not been deactivated or closed. database = /data/data/com.komodo.tagin/databases/taginsdk.db, table = urn_beacons, query = SELECT _id, type, bssid FROM urn_beacons WHERE (_id=8)
04-03 10:56:30.346: E/Cursor(8974): android.database.sqlite.DatabaseObjectNotClosedException: Application did not close the cursor or database object that was opened here
04-03 10:56:30.346: E/Cursor(8974):     at android.database.sqlite.SQLiteCursor.<init>(SQLiteCursor.java:210)
04-03 10:56:30.346: E/Cursor(8974):     at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:53)
04-03 10:56:30.346: E/Cursor(8974):     at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1345)
04-03 10:56:30.346: E/Cursor(8974):     at android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:330)
04-03 10:56:30.346: E/Cursor(8974):     at android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:280)
04-03 10:56:30.346: E/Cursor(8974):     at ca.idi.taginsdk.TaginProvider.query(TaginProvider.java:311)
04-03 10:56:30.346: E/Cursor(8974):     at android.content.ContentProvider$Transport.query(ContentProvider.java:163)
04-03 10:56:30.346: E/Cursor(8974):     at android.content.ContentResolver.query(ContentResolver.java:245)
04-03 10:56:30.346: E/Cursor(8974):     at ca.idi.taginsdk.TaginURN.GetFingerprint(TaginURN.java:258)
04-03 10:56:30.346: E/Cursor(8974):     at ca.idi.taginsdk.TaginURN.mergeFingerprint(TaginURN.java:144)
04-03 10:56:30.346: E/Cursor(8974):     at ca.idi.taginsdk.TaginURN.startURN(TaginURN.java:132)
04-03 10:56:30.346: E/Cursor(8974):     at ca.idi.taginsdk.TaginURN$1.onReceive(TaginURN.java:109)
04-03 10:56:30.346: E/Cursor(8974):     at android.app.ActivityThread$PackageInfo$ReceiverDispatcher$Args.run(ActivityThread.java:892)
04-03 10:56:30.346: E/Cursor(8974):     at android.os.Handler.handleCallback(Handler.java:587)
04-03 10:56:30.346: E/Cursor(8974):     at android.os.Handler.dispatchMessage(Handler.java:92)
04-03 10:56:30.346: E/Cursor(8974):     at android.os.Looper.loop(Looper.java:123)
04-03 10:56:30.346: E/Cursor(8974):     at android.app.ActivityThread.main(ActivityThread.java:4627)
04-03 10:56:30.346: E/Cursor(8974):     at java.lang.reflect.Method.invokeNative(Native Method)
04-03 10:56:30.346: E/Cursor(8974):     at java.lang.reflect.Method.invoke(Method.java:521)
04-03 10:56:30.346: E/Cursor(8974):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
04-03 10:56:30.346: E/Cursor(8974):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
04-03 10:56:30.346: E/Cursor(8974):     at dalvik.system.NativeStart.main(Native Method)

I was trying to figure out what was wrong, but at first sight all created cursors seemed being closed properly.

@TonyTangAndroid
Copy link

any update on this issue? I also ran into the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants