You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
06-26 10:08:00.289 18000-18000/? E/HuiMai.go: crash result ==java.lang.ExceptionInInitializerError
at cn.hhealth.shop.net.k.(Novate.java:104)
at cn.hhealth.shop.net.c.(BaseRequest.java:24)
at cn.hhealth.shop.d.l.(CommonRequest.java:27)
at cn.hhealth.shop.service.SettingService.onCreate(SettingService.java:54)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2990)
at android.app.ActivityThread.access$1900(ActivityThread.java:162)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1541)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5542)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:962)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String okhttp3.Cookie.name()' on a null object reference
at cn.hhealth.shop.net.a.e.hashCode(IdentifiableCookie.java:57)
at java.util.Collections.secondaryHash(Collections.java:3405)
at java.util.HashMap.remove(HashMap.java:616)
at java.util.HashSet.remove(HashSet.java:173)
at java.util.Collections$SynchronizedCollection.remove(Collections.java:422)
at cn.hhealth.shop.net.a.c.a(CookieCacheImpl.java:36)
at cn.hhealth.shop.net.a.f.(NovateCookieManager.java:28)
at cn.hhealth.shop.net.s.a(RetrofitBuilder.java:85)
at cn.hhealth.shop.net.s.(RetrofitBuilder.java:51)
at cn.hhealth.shop.net.s.(RetrofitBuilder.java:39)
at cn.hhealth.shop.net.k.(Novate.java:104)
at cn.hhealth.shop.net.c.(BaseRequest.java:24)
at cn.hhealth.shop.d.l.(CommonRequest.java:27)
at cn.hhealth.shop.service.SettingService.onCreate(SettingService.java:54)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2990)
at android.app.ActivityThread.access$1900(ActivityThread.java:162)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1541)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5542)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:962)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String okhttp3.Cookie.name()' on a null object reference
at cn.hhealth.shop.net.a.e.hashCode(IdentifiableCookie.java:57)
at java.util.Collections.secondaryHash(Collections.java:3405)
at java.util.HashMap.remove(HashMap.java:616)
at java.util.HashSet.remove(HashSet.java:173)
at java.util.Collections$SynchronizedCollection.remove(Collections.java:422)
at cn.hhealth.shop.net.a.c.a(CookieCacheImpl.java:36)
at cn.hhealth.shop.net.a.f.(NovateCookieManager.java:28)
at cn.hhealth.shop.net.s.a(RetrofitBuilder.java:85)
at cn.hhealth.shop.net.s.(RetrofitBuilder.java:51)
at cn.hhealth.shop.net.s.(RetrofitBuilder.java:39)
at cn.hhealth.shop.net.k.(Novate.java:104)
at cn.hhealth.shop.net.c.(BaseRequest.java:24)
at cn.hhealth.shop.d.l.(CommonRequest.java:27)
at cn.hhealth.shop.service.SettingService.onCreate(SettingService.java:54)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2990)
at android.app.ActivityThread.access$1900(ActivityThread.java:162)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1541)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:
The text was updated successfully, but these errors were encountered:
签名打包安装进入应用,从后台杀掉应用。从新进入就报NullPointerException error。cookie反序列化的时候失败,导致cookie为空。我打印了日志貌似从sp中获取到的字符串,就不是正常的cookie序列化后的字符串。烦请有知道原因的帮忙解决一下。多谢
06-26 10:08:00.289 18000-18000/? E/HuiMai.go: crash result ==java.lang.ExceptionInInitializerError
at cn.hhealth.shop.net.k.(Novate.java:104)
at cn.hhealth.shop.net.c.(BaseRequest.java:24)
at cn.hhealth.shop.d.l.(CommonRequest.java:27)
at cn.hhealth.shop.service.SettingService.onCreate(SettingService.java:54)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2990)
at android.app.ActivityThread.access$1900(ActivityThread.java:162)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1541)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5542)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:962)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String okhttp3.Cookie.name()' on a null object reference
at cn.hhealth.shop.net.a.e.hashCode(IdentifiableCookie.java:57)
at java.util.Collections.secondaryHash(Collections.java:3405)
at java.util.HashMap.remove(HashMap.java:616)
at java.util.HashSet.remove(HashSet.java:173)
at java.util.Collections$SynchronizedCollection.remove(Collections.java:422)
at cn.hhealth.shop.net.a.c.a(CookieCacheImpl.java:36)
at cn.hhealth.shop.net.a.f.(NovateCookieManager.java:28)
at cn.hhealth.shop.net.s.a(RetrofitBuilder.java:85)
at cn.hhealth.shop.net.s.(RetrofitBuilder.java:51)
at cn.hhealth.shop.net.s.(RetrofitBuilder.java:39)
at cn.hhealth.shop.net.k.(Novate.java:104)
at cn.hhealth.shop.net.c.(BaseRequest.java:24)
at cn.hhealth.shop.d.l.(CommonRequest.java:27)
at cn.hhealth.shop.service.SettingService.onCreate(SettingService.java:54)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2990)
at android.app.ActivityThread.access$1900(ActivityThread.java:162)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1541)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5542)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:962)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String okhttp3.Cookie.name()' on a null object reference
at cn.hhealth.shop.net.a.e.hashCode(IdentifiableCookie.java:57)
at java.util.Collections.secondaryHash(Collections.java:3405)
at java.util.HashMap.remove(HashMap.java:616)
at java.util.HashSet.remove(HashSet.java:173)
at java.util.Collections$SynchronizedCollection.remove(Collections.java:422)
at cn.hhealth.shop.net.a.c.a(CookieCacheImpl.java:36)
at cn.hhealth.shop.net.a.f.(NovateCookieManager.java:28)
at cn.hhealth.shop.net.s.a(RetrofitBuilder.java:85)
at cn.hhealth.shop.net.s.(RetrofitBuilder.java:51)
at cn.hhealth.shop.net.s.(RetrofitBuilder.java:39)
at cn.hhealth.shop.net.k.(Novate.java:104)
at cn.hhealth.shop.net.c.(BaseRequest.java:24)
at cn.hhealth.shop.d.l.(CommonRequest.java:27)
at cn.hhealth.shop.service.SettingService.onCreate(SettingService.java:54)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2990)
at android.app.ActivityThread.access$1900(ActivityThread.java:162)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1541)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:
The text was updated successfully, but these errors were encountered: