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

MailboxExecutor#submit swallows exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 1.14.0, 1.12.5, 1.13.2
    • None
    • Runtime / Task

    Description

      If a RunnableWithException/Callable is submitted via the MailboxExecutor#submit any exceptions thrown from it will be swallowed.

      It is caused by the FutureTaskWithException implementation. The FutureTask#run does not throw an exception, but it sets it as its internal state. The exception will be thrown only when FutureTask#get() is called.

      Attachments

        Issue Links

          Activity

            People

              dwysakowicz Dawid Wysakowicz
              dwysakowicz Dawid Wysakowicz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: