android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file (code 14): , while compiling: PRAGMA journal_mode

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Appcelerator JIRA by Rudolf Cardinal, 1 year ago
unable to open database file (code 14): , while compiling: PRAGMA journal_mode
via Appcelerator JIRA by Rudolf Cardinal, 1 year ago
unable to open database file (code 14): , while compiling: PRAGMA journal_mode
via Stack Overflow by msDead
, 1 month ago
unable to open database file (code 14): , while compiling: PRAGMA journal_mode
via GitHub by iForests
, 1 year ago
unable to open database file (code 14): , while compiling: PRAGMA journal_mode
via Stack Overflow by Saraz
, 1 year ago
unable to open database file (code 14): , while compiling: PRAGMA journal_mode
via GitHub by wangbourne
, 1 year ago
unable to open database file (code 14): , while compiling: PRAGMA journal_mode
android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file (code 14): , while compiling: PRAGMA journal_mode
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:889)
at android.database.sqlite.SQLiteConnection.executeForString(SQLiteConnection.java:634)
at android.database.sqlite.SQLiteConnection.setJournalMode(SQLiteConnection.java:320)
at android.database.sqlite.SQLiteConnection.setWalModeFromConfiguration(SQLiteConnection.java:294)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:215)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:193)
at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:804)
at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:789)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:977)
at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:966)
at ti.modules.titanium.database.DatabaseModule.open(DatabaseModule.java:71)
at org.appcelerator.kroll.runtime.v8.V8Object.nativeFireEvent(Native Method)
at org.appcelerator.kroll.runtime.v8.V8Object.fireEvent(V8Object.java:62)
at org.appcelerator.kroll.KrollProxy.doFireEvent(KrollProxy.java:884)
at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:1107)
at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:347)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:212)
at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:112)

Users with the same issue

Once, 2 months ago
2 times, 4 months ago

Know the solutions? Share your knowledge to help other developers to debug faster.