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

IdentityFlowProcessorVerification throws NPE when createFailedFlowPublisher returns null #425

Closed
jroper opened this issue Feb 21, 2018 · 0 comments

Comments

@jroper
Copy link
Contributor

commented Feb 21, 2018

IdentityFlowProcessorVerification.createFailedFlowPublisher is allowed to return null, but if you do return null, then an NPE will be thrown because it doesn't check if it's null before passing it to FlowAdapters.toPublisher.

jroper added a commit to jroper/reactive-streams-jvm that referenced this issue Feb 21, 2018
Fix NPE for null failed processor in IdentityFlowProcessorVerification
Fixes reactive-streams#425

IdentityFlowProcessorVerification.createFailedProcessor is allowed to
return null, but the TCK throws an NPE if it does. This introduces a
null check to ensure that doesn't happen.
jroper added a commit to jroper/reactive-streams-jvm that referenced this issue Mar 19, 2018
Fix NPE for null failed processor in IdentityFlowProcessorVerification
Fixes reactive-streams#425

IdentityFlowProcessorVerification.createFailedProcessor is allowed to
return null, but the TCK throws an NPE if it does. This introduces a
null check to ensure that doesn't happen.
viktorklang added a commit that referenced this issue Mar 20, 2018
Fix NPE for null failed processor in IdentityFlowProcessorVerification
Fixes #425

IdentityFlowProcessorVerification.createFailedProcessor is allowed to
return null, but the TCK throws an NPE if it does. This introduces a
null check to ensure that doesn't happen.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.