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

adds missing NPE catch in order to handle rare racing cases #808

Merged
merged 1 commit into from
Apr 30, 2020

Conversation

OlegDokuka
Copy link
Member

@OlegDokuka OlegDokuka commented Apr 30, 2020

The mentioned NPE case may happen rarely due to racing, thus not always can be reproduced in racing tests (or can be reproduced rarely)

Just observed that case in https://travis-ci.org/github/rsocket/rsocket-java/jobs/681587006

and figured one place which miss NPE catching

Signed-off-by: Oleh Dokuka shadowgun@i.ua

@OlegDokuka OlegDokuka added the bug label Apr 30, 2020
@OlegDokuka OlegDokuka added this to the 1.0 milestone Apr 30, 2020
@OlegDokuka OlegDokuka linked an issue Apr 30, 2020 that may be closed by this pull request
The mentioned NPE case may happen rarely due to racing, thus not always can be reproduced in racing tests (or can be reproduced rarely)

Signed-off-by: Oleh Dokuka <shadowgun@i.ua>
@OlegDokuka OlegDokuka force-pushed the bugfix/npe-on-racing-followup branch from 0e83449 to cc83a31 Compare April 30, 2020 17:23
@OlegDokuka OlegDokuka merged commit d97fd8d into develop Apr 30, 2020
@OlegDokuka OlegDokuka deleted the bugfix/npe-on-racing-followup branch April 30, 2020 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NullPointerException on stream cancellation
1 participant