jeasonlzy / okhttp-OkGo

OkGo - 3.0 震撼来袭,该库是基于 Http 协议,封装了 OkHttp 的网络请求框架,比 Retrofit 更简单易用,支持 RxJava,RxJava2,支持自定义缓存,支持批量断点下载管理和批量上传管理功能
Apache License 2.0
10.59k stars 2.55k forks source link

okgo-3.0.4版本 #951

Open majunm opened 3 years ago

majunm commented 3 years ago

java.lang.IllegalStateException: Cannot perform this operation because there is no current transaction. at android.database.sqlite.SQLiteSession.throwIfNoTransaction(SQLiteSession.java:915) at android.database.sqlite.SQLiteSession.endTransaction(SQLiteSession.java:398) at android.database.sqlite.SQLiteDatabase.endTransaction(SQLiteDatabase.java:542) at com.lzy.okgo.db.BaseDao.replace(BaseDao.java:200) at com.lzy.okgo.cookie.store.DBCookieStore.saveCookie(DBCookieStore.java:94) at com.lzy.okgo.cookie.store.DBCookieStore.saveCookie(DBCookieStore.java:77) at com.lzy.okgo.cookie.CookieJarImpl.saveFromResponse(CookieJarImpl.java:48) at okhttp3.internal.http.HttpHeaders.receiveHeaders(HttpHeaders.java:318) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:95) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at com.lzy.okgo.interceptor.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:254) at okhttp3.RealCall$AsyncCall.execute(RealCall.java:200) at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818)

weeeeeeeeeeeei commented 3 years ago

作者已经不维护了,这个库现在一堆问题

majunm commented 3 years ago

作者已经不维护了,这个库现在一堆问题

ヾ(o′▽`o)ノ°°谢谢 项目中用呢 不好动....