Skip to content

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

Merged
OlegDokuka merged 1 commit into
developfrom
bugfix/npe-on-racing-followup
Apr 30, 2020
Merged

adds missing NPE catch in order to handle rare racing cases#808
OlegDokuka merged 1 commit into
developfrom
bugfix/npe-on-racing-followup

Conversation

@OlegDokuka

@OlegDokukaOlegDokuka commented Apr 30, 2020

Copy link
Copy Markdown
Member

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

@OlegDokukaOlegDokuka added this to the 1.0 milestone Apr 30, 2020
@OlegDokukaOlegDokuka 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
OlegDokukaforce-pushed the bugfix/npe-on-racing-followup branch from 0e83449 to cc83a31CompareApril 30, 2020 17:23
@OlegDokuka
OlegDokuka merged commit d97fd8d into developApr 30, 2020
@OlegDokuka
OlegDokuka deleted the bugfix/npe-on-racing-followup branch April 30, 2020 17:50
Sign up for freeto 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

@OlegDokuka