You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Matthias Pohl (Jira)" <ji...@apache.org> on 2023/05/08 09:19:00 UTC

[jira] [Assigned] (FLINK-32029) FutureUtils.handleUncaughtException swallows exceptions that are caused by the exception handler code

     [ https://issues.apache.org/jira/browse/FLINK-32029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Pohl reassigned FLINK-32029:
-------------------------------------

    Assignee: Matthias Pohl

> 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
>
> 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)