Skip to content

Instantly share code, notes, and snippets.

@melvincabatuan
Created August 28, 2014 02:43
Show Gist options
  • Save melvincabatuan/0fecc973c40b7e626705 to your computer and use it in GitHub Desktop.
Save melvincabatuan/0fecc973c40b7e626705 to your computer and use it in GitHub Desktop.
Application did not close the cursor or database object
08-28 09:59:12.201 28554-28554/com.cabatuan.ecequiz D/OpenGLRenderer﹕ Flushing caches (mode 0)
08-28 09:59:15.701 28674-28674/com.cabatuan.ecequiz I/SQLiteAssetHelper﹕ successfully opened database MATH
08-28 09:59:15.721 28674-28674/com.cabatuan.ecequiz D/TextLayoutCache﹕ Using debug level: 0 - Debug Enabled: 0
08-28 09:59:15.771 28674-28674/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLES_android.so
08-28 09:59:15.771 28674-28674/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libEGL_adreno200.so
08-28 09:59:15.781 28674-28674/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLESv1_CM_adreno200.so
08-28 09:59:15.781 28674-28674/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLESv2_adreno200.so
08-28 09:59:15.831 28674-28674/com.cabatuan.ecequiz D/OpenGLRenderer﹕ Enabling debug mode 0
08-28 10:03:56.711 28674-28674/com.cabatuan.ecequiz D/OpenGLRenderer﹕ Flushing caches (mode 0)
08-28 10:04:00.411 28792-28792/com.cabatuan.ecequiz I/SQLiteAssetHelper﹕ successfully opened database MATH
08-28 10:04:00.431 28792-28792/com.cabatuan.ecequiz D/TextLayoutCache﹕ Using debug level: 0 - Debug Enabled: 0
08-28 10:04:00.481 28792-28792/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLES_android.so
08-28 10:04:00.491 28792-28792/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libEGL_adreno200.so
08-28 10:04:00.491 28792-28792/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLESv1_CM_adreno200.so
08-28 10:04:00.501 28792-28792/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLESv2_adreno200.so
08-28 10:04:00.541 28792-28792/com.cabatuan.ecequiz D/OpenGLRenderer﹕ Enabling debug mode 0
08-28 10:06:24.481 28792-28792/com.cabatuan.ecequiz D/OpenGLRenderer﹕ Flushing caches (mode 0)
08-28 10:06:27.981 28903-28903/com.cabatuan.ecequiz I/SQLiteAssetHelper﹕ successfully opened database MATH
08-28 10:06:28.011 28903-28903/com.cabatuan.ecequiz D/TextLayoutCache﹕ Using debug level: 0 - Debug Enabled: 0
08-28 10:06:28.051 28903-28903/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLES_android.so
08-28 10:06:28.051 28903-28903/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libEGL_adreno200.so
08-28 10:06:28.051 28903-28903/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLESv1_CM_adreno200.so
08-28 10:06:28.051 28903-28903/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLESv2_adreno200.so
08-28 10:06:28.111 28903-28903/com.cabatuan.ecequiz D/OpenGLRenderer﹕ Enabling debug mode 0
08-28 10:06:41.831 28903-28905/com.cabatuan.ecequiz D/dalvikvm﹕ GC_CONCURRENT freed 268K, 4% free 8985K/9351K, paused 8ms+2ms
08-28 10:09:03.111 29014-29014/com.cabatuan.ecequiz D/dalvikvm﹕ Late-enabling CheckJNI
08-28 10:09:03.251 29014-29014/com.cabatuan.ecequiz I/SQLiteAssetHelper﹕ successfully opened database MATH
08-28 10:09:03.281 29014-29014/com.cabatuan.ecequiz D/TextLayoutCache﹕ Using debug level: 0 - Debug Enabled: 0
08-28 10:09:03.331 29014-29014/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLES_android.so
08-28 10:09:03.331 29014-29014/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libEGL_adreno200.so
08-28 10:09:03.341 29014-29014/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLESv1_CM_adreno200.so
08-28 10:09:03.341 29014-29014/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLESv2_adreno200.so
08-28 10:09:03.431 29014-29014/com.cabatuan.ecequiz D/OpenGLRenderer﹕ Enabling debug mode 0
08-28 10:09:29.411 29014-29014/com.cabatuan.ecequiz D/OpenGLRenderer﹕ Flushing caches (mode 0)
08-28 10:09:30.411 29014-29014/com.cabatuan.ecequiz D/OpenGLRenderer﹕ Flushing caches (mode 1)
08-28 10:09:32.481 29014-29014/com.cabatuan.ecequiz I/SQLiteAssetHelper﹕ successfully opened database MATH
08-28 10:09:32.611 29014-29016/com.cabatuan.ecequiz D/dalvikvm﹕ GC_CONCURRENT freed 238K, 4% free 9041K/9351K, paused 6ms+3ms
08-28 10:13:04.191 29014-29014/com.cabatuan.ecequiz D/OpenGLRenderer﹕ Flushing caches (mode 0)
08-28 10:13:07.631 29134-29134/com.cabatuan.ecequiz I/SQLiteAssetHelper﹕ successfully opened database MATH
08-28 10:13:07.651 29134-29134/com.cabatuan.ecequiz D/TextLayoutCache﹕ Using debug level: 0 - Debug Enabled: 0
08-28 10:13:07.701 29134-29134/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLES_android.so
08-28 10:13:07.711 29134-29134/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libEGL_adreno200.so
08-28 10:13:07.711 29134-29134/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLESv1_CM_adreno200.so
08-28 10:13:07.721 29134-29134/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLESv2_adreno200.so
08-28 10:13:07.771 29134-29134/com.cabatuan.ecequiz D/OpenGLRenderer﹕ Enabling debug mode 0
08-28 10:16:18.451 29134-29134/com.cabatuan.ecequiz D/OpenGLRenderer﹕ Flushing caches (mode 0)
08-28 10:16:21.791 29249-29249/com.cabatuan.ecequiz I/SQLiteAssetHelper﹕ successfully opened database MATH
08-28 10:16:21.811 29249-29249/com.cabatuan.ecequiz D/TextLayoutCache﹕ Using debug level: 0 - Debug Enabled: 0
08-28 10:16:21.871 29249-29249/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLES_android.so
08-28 10:16:21.881 29249-29249/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libEGL_adreno200.so
08-28 10:16:21.881 29249-29249/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLESv1_CM_adreno200.so
08-28 10:16:21.881 29249-29249/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLESv2_adreno200.so
08-28 10:16:21.921 29249-29249/com.cabatuan.ecequiz D/OpenGLRenderer﹕ Enabling debug mode 0
08-28 10:17:32.641 29249-29249/com.cabatuan.ecequiz D/OpenGLRenderer﹕ Flushing caches (mode 0)
08-28 10:17:36.001 29315-29315/com.cabatuan.ecequiz I/SQLiteAssetHelper﹕ successfully opened database MATH
08-28 10:17:36.011 29315-29315/com.cabatuan.ecequiz D/TextLayoutCache﹕ Using debug level: 0 - Debug Enabled: 0
08-28 10:17:36.071 29315-29315/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLES_android.so
08-28 10:17:36.081 29315-29315/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libEGL_adreno200.so
08-28 10:17:36.081 29315-29315/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLESv1_CM_adreno200.so
08-28 10:17:36.081 29315-29315/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLESv2_adreno200.so
08-28 10:17:36.121 29315-29315/com.cabatuan.ecequiz D/OpenGLRenderer﹕ Enabling debug mode 0
08-28 10:18:55.461 29383-29383/com.cabatuan.ecequiz I/SQLiteAssetHelper﹕ successfully opened database MATH
08-28 10:18:55.481 29383-29383/com.cabatuan.ecequiz D/TextLayoutCache﹕ Using debug level: 0 - Debug Enabled: 0
08-28 10:18:55.541 29383-29383/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLES_android.so
08-28 10:18:55.541 29383-29383/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libEGL_adreno200.so
08-28 10:18:55.541 29383-29383/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLESv1_CM_adreno200.so
08-28 10:18:55.561 29383-29383/com.cabatuan.ecequiz D/libEGL﹕ loaded /system/lib/egl/libGLESv2_adreno200.so
08-28 10:18:55.601 29383-29383/com.cabatuan.ecequiz D/OpenGLRenderer﹕ Enabling debug mode 0
08-28 10:19:18.151 29383-29385/com.cabatuan.ecequiz D/dalvikvm﹕ GC_CONCURRENT freed 246K, 4% free 9001K/9287K, paused 2ms+3ms
08-28 10:20:58.121 29383-29385/com.cabatuan.ecequiz D/dalvikvm﹕ GC_CONCURRENT freed 432K, 6% free 9011K/9543K, paused 2ms+5ms
08-28 10:42:06.501 29383-29383/com.cabatuan.ecequiz D/OpenGLRenderer﹕ Flushing caches (mode 0)
08-28 10:42:06.611 29383-29383/com.cabatuan.ecequiz I/SQLiteAssetHelper﹕ successfully opened database MATH
08-28 10:42:07.151 29383-29385/com.cabatuan.ecequiz D/dalvikvm﹕ GC_CONCURRENT freed 374K, 5% free 9081K/9543K, paused 3ms+3ms
08-28 10:42:07.161 29383-29392/com.cabatuan.ecequiz E/SQLiteDatabase﹕ close() was never explicitly called on database '/data/data/com.cabatuan.ecequiz/databases/MATH'
android.database.sqlite.DatabaseObjectNotClosedException: Application did not close the cursor or database object that was opened here
at android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1943)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:1007)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:986)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:962)
at com.readystatesoftware.sqliteasset.SQLiteAssetHelper.returnDatabase(SQLiteAssetHelper.java:408)
at com.readystatesoftware.sqliteasset.SQLiteAssetHelper.createOrOpenDatabase(SQLiteAssetHelper.java:386)
at com.readystatesoftware.sqliteasset.SQLiteAssetHelper.getWritableDatabase(SQLiteAssetHelper.java:176)
at com.readystatesoftware.sqliteasset.SQLiteAssetHelper.getReadableDatabase(SQLiteAssetHelper.java:254)
at com.cabatuan.ecequiz.MyDatabase.setCursor(MyDatabase.java:33)
at com.cabatuan.ecequiz.Main.onCreate(Main.java:47)
at android.app.Activity.performCreate(Activity.java:4465)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1931)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1992)
at android.app.ActivityThread.access$600(ActivityThread.java:127)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1158)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4441)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
08-28 10:42:07.161 29383-29392/com.cabatuan.ecequiz E/System﹕ Uncaught exception thrown by finalizer
08-28 10:42:07.181 29383-29392/com.cabatuan.ecequiz E/System﹕ java.lang.IllegalStateException: Don't have database lock!
at android.database.sqlite.SQLiteDatabase.verifyLockOwner(SQLiteDatabase.java:2090)
at android.database.sqlite.SQLiteDatabase$1.entryRemoved(SQLiteDatabase.java:2182)
at android.database.sqlite.SQLiteDatabase$1.entryRemoved(SQLiteDatabase.java:2178)
at android.util.LruCache.trimToSize(LruCache.java:197)
at android.util.LruCache.evictAll(LruCache.java:285)
at android.database.sqlite.SQLiteDatabase.deallocCachedSqlStatements(SQLiteDatabase.java:2143)
at android.database.sqlite.SQLiteDatabase.closeClosable(SQLiteDatabase.java:1126)
at android.database.sqlite.SQLiteDatabase.finalize(SQLiteDatabase.java:1914)
at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:182)
at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:168)
at java.lang.Thread.run(Thread.java:856)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment