[
https://issues.apache.org/jira/browse/FLINK-32029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias Pohl resolved FLINK-32029.
-----------------------------------
Fix Version/s: 1.16.2
1.18.0
1.17.1
Resolution: Fixed
> FutureUtils.handleUncaughtException swallows exceptions that are caused by
> the exception handler code
> -----------------------------------------------------------------------------------------------------
>
> Key: FLINK-32029
> URL: https://issues.apache.org/jira/browse/FLINK-32029
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Coordination
> Affects Versions: 1.17.0, 1.16.1, 1.18.0
> Reporter: Matthias Pohl
> Assignee: Matthias Pohl
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.16.2, 1.18.0, 1.17.1
>
>
> I ran into an issue in FLINK-31773 where the passed exception handler relies
> on the {{leaderContender}} field of the {{DefaultLeaderElectionService}}.
> This field can become {{null}} with the changes of FLINK-31773. But the
> {{null}} check was missed in the error handling code. This bug wasn't exposed
> because {{FutureUtils.handleUncaughtException(..)}} expects the passed error
> handler callback to be bug-free.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)