An Android application encountered an error when trying to create the application. The error was caused by the database being locked, which prevented the application from opening the database and accessing necessary data. This appears to be a concurrency issue where the database could not be accessed simultaneously from multiple threads or processes.
An Android application encountered an error when trying to create the application. The error was caused by the database being locked, which prevented the application from opening the database and accessing necessary data. This appears to be a concurrency issue where the database could not be accessed simultaneously from multiple threads or processes.
An Android application encountered an error when trying to create the application. The error was caused by the database being locked, which prevented the application from opening the database and accessing necessary data. This appears to be a concurrency issue where the database could not be accessed simultaneously from multiple threads or processes.
com.zoho.notebook.NoteBookApplication: android.database.sqlite.SQLiteDatabaseLockedException: database is locked (code 5): , while compiling: PRAGMA journal_mode at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6142) at android.app.ActivityThread.-wrap1(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1833) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:214) at android.app.ActivityThread.main(ActivityThread.java:6977) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:528) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:910) Caused by: android.database.sqlite.SQLiteDatabaseLockedException: database is locked (code 5): , while compiling: PRAGMA journal_mode at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method) at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection. java:890) at android.database.sqlite.SQLiteConnection.executeForString(SQLiteConnection.java:635 ) at android.database.sqlite.SQLiteConnection.setJournalMode(SQLiteConnection.java:321) at android.database.sqlite.SQLiteConnection.setWalModeFromConfiguration(SQLiteConnecti on.java:295) at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:216) at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:194) at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionP ool.java:493) at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:200) at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:192) at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:869) at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:854) at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:729) at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:719) at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:29 5) at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java: 238) at com.zoho.notebook.nb_data.helper.ZAppDataHelper.getDao(ZAppDataHelper.java:2) at com.zoho.notebook.nb_data.preference.UserPreferences.getValueFromDB(UserPreferences .java:2) at com.zoho.notebook.nb_data.preference.UserPreferences.getStringPreference(UserPrefer ences.java:1) at com.zoho.notebook.nb_data.preference.UserPreferences.getIntPreference(UserPreferenc es.java:1) at com.zoho.notebook.nb_data.preference.UserPreferences.getPreferredStorage(UserPrefer ences.java:2) at com.zoho.notebook.NoteBookApplication.onCreate(NoteBookApplication.java:17) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1119) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6139) ... 8 more