[ https://issues.apache.org/jira/browse/FLINK-32029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17721280#comment-17721280 ]
Matthias Pohl commented on FLINK-32029: --------------------------------------- master: 88b3432a2845952543a8396aeb8e2cddab77b509 1.17: tba 1.16: tba > 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 > > 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)