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

NullPointerException #85

Open
Aracoix opened this issue Nov 22, 2021 · 1 comment
Open

NullPointerException #85

Aracoix opened this issue Nov 22, 2021 · 1 comment

Comments

@Aracoix
Copy link

Aracoix commented Nov 22, 2021

java.lang.NullPointerException: Null is not a valid element
at io.reactivex.internal.queue.SpscLinkedArrayQueue.offer(SpscLinkedArrayQueue.java:69)
at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.onNext(ObservableObserveOn.java:117)
at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeOnObserver.onNext(ObservableSubscribeOn.java:58)
at io.reactivex.subjects.ReplaySubject$UnboundedReplayBuffer.replay(ReplaySubject.java:770)
at io.reactivex.subjects.ReplaySubject.onNext(ReplaySubject.java:352)
at cn.hikyson.godeye.core.internal.ProduceableSubject.produce(ProduceableSubject.java:23)
at cn.hikyson.godeye.core.internal.modules.network.Network.produce(Network.java:57)
at cn.hikyson.godeye.core.GodEyeHelper.onNetworkEnd(GodEyeHelper.java:88)
at cn.hikyson.android.godeye.okhttp.OkNetworkEventListener.callEnd(OkNetworkEventListener.java:176)
at okhttp3.internal.connection.RealCall.callDone(RealCall.kt:364)
at okhttp3.internal.connection.RealCall.noMoreExchanges$okhttp(RealCall.kt:325)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:212)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)

@Kyson
Copy link
Owner

Kyson commented Jan 29, 2022

Check whether okhttp's response is null

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

2 participants