android.database.sqlite.SQLiteException: not an error (code 0)


Solutions on the web

Solution icon of github
via GitHub by teolemon
, 9 months ago
not an error (code 0)

Solution icon of github
via GitHub by teolemon
, 8 months ago
not an error (code 0)

Solution icon of web
via mozilla.com by Unknown author, 11 months ago
not an error (code 0)

Solution icon of stackoverflow
not an error (code 0)

Solution icon of web
via amazon.com by Unknown author, 1 year ago
not an error (code 0)

Stack trace

android.database.sqlite.SQLiteException: not an error (code 0)
	at android.database.sqlite.SQLiteConnection.nativeRegisterLocalizedCollators(Native Method)
	at android.database.sqlite.SQLiteConnection.setLocaleFromConfiguration(SQLiteConnection.java:359)
	at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:216)
	at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:191)
	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:806)
	at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:791)
	at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
	at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:575)
	at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:269)
	at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:223)
	at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:163)
	at com.orm.SugarDb.getDB(SugarDb.java:38)
	at com.orm.SugarRecord.getSugarDataBase(SugarRecord.java:35)
	at com.orm.SugarRecord.find(SugarRecord.java:201)
	at com.orm.SugarRecord.listAll(SugarRecord.java:127)
	at openfoodfacts.github.scrachx.openfood.views.HistoryScanActivity$FillAdapter.onPreExecute(HistoryScanActivity.java:193)
	at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:604)
	at android.os.AsyncTask.execute(AsyncTask.java:551)
	at openfoodfacts.github.scrachx.openfood.views.HistoryScanActivity.onCreate(HistoryScanActivity.java:70)
	at android.app.Activity.performCreate(Activity.java:6251)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2397)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2504)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

2 times, 3 months ago
6 times, 6 months ago
Once, 11 months ago
Once, 1 year ago
4 times, 1 year ago
12 more bugmates