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

NPE in o.micronaut.http.client.netty.ReactiveClientReader #9776

Closed
dstepanov opened this issue Aug 24, 2023 · 0 comments · Fixed by #9785
Closed

NPE in o.micronaut.http.client.netty.ReactiveClientReader #9776

dstepanov opened this issue Aug 24, 2023 · 0 comments · Fixed by #9785
Assignees

Comments

@dstepanov
Copy link
Contributor

Issue description

I noticed this error in HTTP client tests that is swallowed somehow:

i.n.channel.DefaultChannelPipeline - An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.	
  java.lang.NullPointerException: Cannot invoke "org.reactivestreams.Subscriber.onError(java.lang.Throwable)" because "this.subscriber" is null	
  	at io.micronaut.http.client.netty.ReactiveClientReader.channelInactive(ReactiveClientReader.java:56)
yawkat added a commit that referenced this issue Aug 28, 2023
When an error arrives before the ReactiveClientReader was subscribed to, we would get an exception.

Fixes #9776
yawkat added a commit that referenced this issue Aug 29, 2023
…9785)

When an error arrives before the ReactiveClientReader was subscribed to, we would get an exception.

Fixes #9776
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants