[android-developers] how to fix the runtimeexception:android.database.sqlite.SQLiteException: Unable to close due to unfinalised statements
Dear Alll, The log is as following, any suggestion will be grateful. Thanks, Best Regards, D.Y E/XT9IME ( 218): onFinishInput()...no input view I/ActivityManager( 140): Displayed activity com.acer.android.musicer/.HistoryDetails: 332 ms (total 332 ms) D/Activity( 492): SAVE_SNAPSHOT: Update snapshot record[7](com.acer.android.musicer) done! E/XT9IME ( 218): onFinishInput()...no input view D/ViewFlipper( 492): updateRunning() mVisible=false, mStarted=false, mUserPresent=true, mRunning=false D/ViewFlipper( 492): updateRunning() mVisible=false, mStarted=false, mUserPresent=true, mRunning=false E/XT9IME ( 218): onFinishInput()...no input view E/Database( 492): sqlite3_close(0x14d6b0) failed: 5 W/dalvikvm( 492): threadid=3: thread exiting with uncaught exception (group=0x2aac6160) E/AndroidRuntime( 492): Uncaught handler: thread main exiting due to uncaught exception E/AndroidRuntime( 492): java.lang.RuntimeException: Unable to destroy activity {com.acer.android.musicer/com.acer.android.musicer.HistoryActivity}: android.database.sqlite.SQLiteException: Unable to close due to unfinalised statements E/AndroidRuntime( 492): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3468) E/AndroidRuntime( 492): at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3486) E/AndroidRuntime( 492): at android.app.ActivityThread.access$2800(ActivityThread.java:119) E/AndroidRuntime( 492): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1896) E/AndroidRuntime( 492): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 492): at android.os.Looper.loop(Looper.java:123) E/AndroidRuntime( 492): at android.app.ActivityThread.main(ActivityThread.java:4362) E/AndroidRuntime( 492): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 492): at java.lang.reflect.Method.invoke(Method.java:521) E/AndroidRuntime( 492): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) E/AndroidRuntime( 492): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) E/AndroidRuntime( 492): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 492): Caused by: android.database.sqlite.SQLiteException: Unable to close due to unfinalised statements E/AndroidRuntime( 492): at android.database.sqlite.SQLiteDatabase.dbclose(Native Method) E/AndroidRuntime( 492): at android.database.sqlite.SQLiteDatabase.onAllReferencesReleased(SQLiteDatabase.java:254) E/AndroidRuntime( 492): at android.database.sqlite.SQLiteClosable.releaseReference(SQLiteClosable.java:42) E/AndroidRuntime( 492): at android.database.sqlite.SQLiteProgram.onAllReferencesReleased(SQLiteProgram.java:67) E/AndroidRuntime( 492): at android.database.sqlite.SQLiteClosable.releaseReference(SQLiteClosable.java:42) E/AndroidRuntime( 492): at android.database.sqlite.SQLiteProgram.close(SQLiteProgram.java:221) E/AndroidRuntime( 492): at android.database.sqlite.SQLiteQuery.close(SQLiteQuery.java:141) E/AndroidRuntime( 492): at android.database.sqlite.SQLiteCursor.close(SQLiteCursor.java:507) E/AndroidRuntime( 492): at android.app.Activity.onDestroy(Activity.java:1792) E/AndroidRuntime( 492): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3455) E/AndroidRuntime( 492): ... 11 more E/dalvikvm( 492): Unable to open stack trace file '/data/anr/traces.txt': Permission denied -- 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
[android-developers] how to fix the runtimeexception:android.database.sqlite.SQLiteException: Unable to close due to unfinalised statements
Dear Alll, The log is as following, any suggestion will be grateful. Thanks, Best Regards, D.Y E/XT9IME ( 218): onFinishInput()...no input view I/ActivityManager( 140): Displayed activity com.acer.android.musicer/.HistoryDetails: 332 ms (total 332 ms) D/Activity( 492): SAVE_SNAPSHOT: Update snapshot record[7](com.acer.android.musicer) done! E/XT9IME ( 218): onFinishInput()...no input view D/ViewFlipper( 492): updateRunning() mVisible=false, mStarted=false, mUserPresent=true, mRunning=false D/ViewFlipper( 492): updateRunning() mVisible=false, mStarted=false, mUserPresent=true, mRunning=false E/XT9IME ( 218): onFinishInput()...no input view E/Database( 492): sqlite3_close(0x14d6b0) failed: 5 W/dalvikvm( 492): threadid=3: thread exiting with uncaught exception (group=0x2aac6160) E/AndroidRuntime( 492): Uncaught handler: thread main exiting due to uncaught exception E/AndroidRuntime( 492): java.lang.RuntimeException: Unable to destroy activity {com.acer.android.musicer/com.acer.android.musicer.HistoryActivity}: android.database.sqlite.SQLiteException: Unable to close due to unfinalised statements E/AndroidRuntime( 492): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3468) E/AndroidRuntime( 492): at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3486) E/AndroidRuntime( 492): at android.app.ActivityThread.access$2800(ActivityThread.java:119) E/AndroidRuntime( 492): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1896) E/AndroidRuntime( 492): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 492): at android.os.Looper.loop(Looper.java:123) E/AndroidRuntime( 492): at android.app.ActivityThread.main(ActivityThread.java:4362) E/AndroidRuntime( 492): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 492): at java.lang.reflect.Method.invoke(Method.java:521) E/AndroidRuntime( 492): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) E/AndroidRuntime( 492): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) E/AndroidRuntime( 492): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 492): Caused by: android.database.sqlite.SQLiteException: Unable to close due to unfinalised statements E/AndroidRuntime( 492): at android.database.sqlite.SQLiteDatabase.dbclose(Native Method) E/AndroidRuntime( 492): at android.database.sqlite.SQLiteDatabase.onAllReferencesReleased(SQLiteDatabase.java:254) E/AndroidRuntime( 492): at android.database.sqlite.SQLiteClosable.releaseReference(SQLiteClosable.java:42) E/AndroidRuntime( 492): at android.database.sqlite.SQLiteProgram.onAllReferencesReleased(SQLiteProgram.java:67) E/AndroidRuntime( 492): at android.database.sqlite.SQLiteClosable.releaseReference(SQLiteClosable.java:42) E/AndroidRuntime( 492): at android.database.sqlite.SQLiteProgram.close(SQLiteProgram.java:221) E/AndroidRuntime( 492): at android.database.sqlite.SQLiteQuery.close(SQLiteQuery.java:141) E/AndroidRuntime( 492): at android.database.sqlite.SQLiteCursor.close(SQLiteCursor.java:507) E/AndroidRuntime( 492): at android.app.Activity.onDestroy(Activity.java:1792) E/AndroidRuntime( 492): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3455) E/AndroidRuntime( 492): ... 11 more E/dalvikvm( 492): Unable to open stack trace file '/data/anr/traces.txt': Permission denied -- 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