Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLiteDatabaseLockedException #12

Open
xybCoder opened this issue Aug 10, 2017 · 0 comments
Open

SQLiteDatabaseLockedException #12

xybCoder opened this issue Aug 10, 2017 · 0 comments

Comments

@xybCoder
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant