net.sqlcipher.database.SQLiteException: file is encrypted or is not a database

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 Marco Cota, 1 year ago
file is encrypted or is not a database
via Appcelerator JIRA by Marco Cota, 1 year ago
file is encrypted or is not a database
via GitHub by Atom99
, 2 years ago
file is encrypted or is not a database
via GitHub by dragosraducanu
, 2 years ago
file is encrypted or is not a database
via GitHub by lavzchen
, 2 years ago
file is encrypted or is not a database: create locale table failed
via GitHub by algoroq
, 2 years ago
attempt to write a readonly database
net.sqlcipher.database.SQLiteException: file is encrypted or is not a database
at net.sqlcipher.database.SQLiteDatabase.native_setLocale(Native Method)
at net.sqlcipher.database.SQLiteDatabase.setLocale(SQLiteDatabase.java:2102)
at net.sqlcipher.database.SQLiteDatabase.(SQLiteDatabase.java:1968)
at net.sqlcipher.database.SQLiteDatabase.openDatabase(SQLiteDatabase.java:901)
at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:929)
at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:936)
at appcelerator.encrypteddatabase.EncrypteddatabaseModule.open(EncrypteddatabaseModule.java:83)
at appcelerator.encrypteddatabase.EncrypteddatabaseModule.install(EncrypteddatabaseModule.java:145)
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:908)
at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:1131)
at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:347)
at org.appcelerator.titanium.proxy.TiWindowProxy.handleMessage(TiWindowProxy.java:101)
at ti.modules.titanium.ui.WindowProxy.handleMessage(WindowProxy.java:424)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:137)
at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:112)

Users with the same issue

702 times, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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