Skip to content

SQLiteDatabaseLockedException #12

@xybCoder

Description

@xybCoder

android.database.sqlite.SQLiteDatabaseLockedException
database is locked (code 5): , while compiling: PRAGMA journal_mode

1 android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)

2 android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:906)
3 android.database.sqlite.SQLiteConnection.executeForString(SQLiteConnection.java:651)
4 android.database.sqlite.SQLiteConnection.setJournalMode(SQLiteConnection.java:333)
5 android.database.sqlite.SQLiteConnection.setWalModeFromConfiguration(SQLiteConnection.java:307)
6 android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:228)
7 android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:206)
8 android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
9 android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
10 android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
11 android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:836)
12 android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:821)
13 android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:714)
14 android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:1286)
15 android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:268)
16 android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:223)
17 android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:163)
18 cn.hadcn.keyboard.emoticon.db.EmoticonDBHelper.insertEmoticonSet(EmoticonDBHelper.java:89)
19 cn.hadcn.keyboard.ChatKeyboardLayout$5.run(ChatKeyboardLayout.java:704)
20 java.lang.Thread.run(Thread.java:818)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions