Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-32029

FutureUtils.handleUncaughtException swallows exceptions that are caused by the exception handler code

Details

    Description

      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.

      Attachments

        Activity

          No work has yet been logged on this issue.

          People

            mapohl Matthias Pohl
            mapohl Matthias Pohl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: