Skip to content

Fix potential NPE in SinkChannel#9589

Merged
JackieTien97 merged 1 commit intomasterfrom
SinkChannelNPE
Apr 12, 2023
Merged

Fix potential NPE in SinkChannel#9589
JackieTien97 merged 1 commit intomasterfrom
SinkChannelNPE

Conversation

@JackieTien97
Copy link
Contributor

@JackieTien97 JackieTien97 commented Apr 11, 2023

After lazy opening SinChannel, blcoked future in SinkChannel may be null while being aborted or closed because this FI may not be runned while the root FI may encounter error and decide to abort other FIs.

image

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@JackieTien97 JackieTien97 merged commit 7c70b21 into master Apr 12, 2023
@JackieTien97 JackieTien97 deleted the SinkChannelNPE branch April 12, 2023 00:37
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

Successfully merging this pull request may close these issues.

2 participants