You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Dawid Wysakowicz (Jira)" <ji...@apache.org> on 2021/10/12 15:50:00 UTC

[jira] [Closed] (FLINK-24515) MailboxExecutor#submit swallows exceptions

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

Dawid Wysakowicz closed FLINK-24515.
------------------------------------
    Fix Version/s:     (was: 1.14.1)
                       (was: 1.15.0)
                       (was: 1.13.3)
                       (was: 1.12.6)
       Resolution: Not A Problem

> MailboxExecutor#submit swallows exceptions
> ------------------------------------------
>
>                 Key: FLINK-24515
>                 URL: https://issues.apache.org/jira/browse/FLINK-24515
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Task
>    Affects Versions: 1.14.0, 1.12.5, 1.13.2
>            Reporter: Dawid Wysakowicz
>            Assignee: Dawid Wysakowicz
>            Priority: Major
>              Labels: pull-request-available
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)