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

缓存问题 #214

Open
goochzhao opened this issue Mar 21, 2019 · 0 comments
Open

缓存问题 #214

goochzhao opened this issue Mar 21, 2019 · 0 comments

Comments

@goochzhao
Copy link

android.database.sqlite.SQLiteException: Failed to change locale for db '/data/user/0/com.hskaoyan/databases/nohttp_cache_db.db' to 'zh_CN#Hans'.
at android.database.sqlite.SQLiteConnection.setLocaleFromConfiguration(SQLiteConnection.java:394)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:219)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:194)
at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:493)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:200)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:192)
at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:864)
at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:849)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:724)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:714)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:298)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:241)
at com.yolanda.nohttp.db.BaseDao.getWriter(BaseDao.java:59)
at com.yolanda.nohttp.cache.CacheEntityDao.replace(CacheEntityDao.java:55)
at com.yolanda.nohttp.cache.CacheEntityDao.replace(CacheEntityDao.java:37)
at com.yolanda.nohttp.cache.DBCacheStore.replace(DBCacheStore.java:77)
at com.yolanda.nohttp.cache.DBCacheStore.replace(DBCacheStore.java:35)
at com.yolanda.nohttp.rest.RestProtocol.handleResponseCache(RestProtocol.java:164)
at com.yolanda.nohttp.rest.RestProtocol.requestNetwork(RestProtocol.java:85)
at com.yolanda.nohttp.rest.RestParser.parserRequest(RestParser.java:44)
at com.yolanda.nohttp.rest.SyncRequestExecutor.execute(SyncRequestExecutor.java:41)
at com.yolanda.nohttp.rest.RequestDispatcher.run(RequestDispatcher.java:94)

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