webnabludatel/watcher-android — Issue #38: android.database.sqlite.SQLiteException
Author: suntehnik
Created: 2012-03-06 05:54:38+00:00
State: open

Платформы
OTHER
Отчетов в неделю: 4
Отчеты: 4
Содержимое стека
v1.0
04.03.2012 9:11:36
Отчетов в неделю: 1
Отчеты: 1
java.lang.RuntimeException: Unable to resume activity {org.dvaletin.apps.nabludatel/org.dvaletin.apps.nabludatel.NabludatelActivity}: android.database.sqlite.SQLiteException: database is locked
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2141)
at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:170)
at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:321)
at android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:731)
at android.widget.TabHost.setCurrentTab(TabHost.java:403)
at org.dvaletin.apps.nabludatel.MainWindow$1.onCheckedChanged(MainWindow.java:106)
at android.widget.RadioGroup.setCheckedId(RadioGroup.java:172)
at android.widget.RadioGroup.access$600(RadioGroup.java:52)
at android.widget.RadioGroup$CheckedStateTracker.onCheckedChanged(RadioGroup.java:342)
at android.widget.CompoundButton.setChecked(CompoundButton.java:131)
at android.widget.CompoundButton.toggle(CompoundButton.java:90)
at android.widget.RadioButton.toggle(RadioButton.java:81)
at android.widget.CompoundButton.performClick(CompoundButton.java:102)
at android.view.View$PerformClick.run(View.java:9229)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3701)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:624)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.database.sqlite.SQLiteException: database is locked
at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)
at android.database.sqlite.SQLiteDatabase.(SQLiteDatabase.java:1857)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:824)
at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:862)
at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:855)
at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:575)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:203)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:118)
at org.dvaletin.apps.nabludatel.utils.ElectionsDBHelper.db(ElectionsDBHelper.java:34)
at org.dvaletin.apps.nabludatel.utils.ElectionsDBHelper.getPollingPlace(ElectionsDBHelper.java:310)
at org.dvaletin.apps.nabludatel.utils.ElectionsDBHelper.getPollingPlaceType(ElectionsDBHelper.java:329)
at org.dvaletin.apps.nabludatel.ABSNabludatelActivity.onResume(ABSNabludatelActivity.java:96)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1150)
at android.app.Activity.performResume(Activity.java:3832)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2131)
... 22 more
v1.0
04.03.2012 8:36:10
Отчетов в неделю: 1
Отчеты: 1
java.lang.RuntimeException: Failure delivering result ResultInfo{who=two, request=2130903056, result=-1, data=Intent { (has extras) }} to activity {org.dvaletin.apps.nabludatel/org.dvaletin.apps.nabludatel.MainWindow}: android.database.sqlite.SQLiteException: database is locked
at android.app.ActivityThread.deliverResults(ActivityThread.java:2536)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:2578)
at android.app.ActivityThread.access$2000(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:965)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3691)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:670)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.database.sqlite.SQLiteException: database is locked
at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)
at android.database.sqlite.SQLiteDatabase.(SQLiteDatabase.java:1990)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:905)
at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:995)
at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:988)
at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:591)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:203)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:118)
at org.dvaletin.apps.nabludatel.utils.ElectionsDBHelper.db(ElectionsDBHelper.java:34)
at org.dvaletin.apps.nabludatel.utils.ElectionsDBHelper.getCheckListItemsCountByScreenId(ElectionsDBHelper.java:209)
at org.dvaletin.apps.nabludatel.utils.NabludatelCheckListItemViewAdapter.updateViolationCount(NabludatelCheckListItemViewAdapter.java:94)
at org.dvaletin.apps.nabludatel.NabludatelActivity.onActivityResult(NabludatelActivity.java:407)
at android.app.ActivityGroup.dispatchActivityResult(ActivityGroup.java:119)
at android.app.ActivityThread.deliverResults(ActivityThread.java:2532)
... 11 more
v1.0
03.03.2012 1:50:53
Отчетов в неделю: 2
Отчеты: 2
java.lang.RuntimeException: Unable to resume activity {org.dvaletin.apps.nabludatel/org.dvaletin.apps.nabludatel.MainWindow}: java.lang.RuntimeException: Unable to resume activity {org.dvaletin.apps.nabludatel/org.dvaletin.apps.nabludatel.NabludatelSettingsActivity}: android.database.sqlite.SQLiteException: unable to open database file
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3347)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3362)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2808)
at android.app.ActivityThread.access$2300(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2136)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:144)
at android.app.ActivityThread.main(ActivityThread.java:4937)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: Unable to resume activity {org.dvaletin.apps.nabludatel/org.dvaletin.apps.nabludatel.NabludatelSettingsActivity}: android.database.sqlite.SQLiteException: unable to open database file
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3347)
at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:170)
at android.app.LocalActivityManager.dispatchResume(LocalActivityManager.java:521)
at android.app.ActivityGroup.onResume(ActivityGroup.java:58)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1255)
at android.app.Activity.performResume(Activity.java:3864)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3337)
... 12 more
Caused by: android.database.sqlite.SQLiteException: unable to open database file
at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)
at android.database.sqlite.SQLiteDatabase.(SQLiteDatabase.java:1902)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:884)
at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:918)
at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:911)
at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:548)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:203)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:98)
at org.dvaletin.apps.nabludatel.utils.ElectionsDBHelper.db(ElectionsDBHelper.java:34)
at org.dvaletin.apps.nabludatel.utils.ElectionsDBHelper.getCheckListItemsByPollingPlaceIdAndScreenId(ElectionsDBHelper.java:230)
at org.dvaletin.apps.nabludatel.ABSNabludatelActivity.restore(ABSNabludatelActivity.java:327)
at org.dvaletin.apps.nabludatel.ABSNabludatelActivity.onResume(ABSNabludatelActivity.java:96)
at org.dvaletin.apps.nabludatel.NabludatelSettingsActivity.onResume(NabludatelSettingsActivity.java:119)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1255)
at android.app.Activity.performResume(Activity.java:3864)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3337)
... 18 more