Matthias Pohl created FLINK-32029:
-------------------------------------
Summary: 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.16.1, 1.17.0, 1.18.0
Reporter: Matthias Pohl
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)