You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Stanislav Lukyanov (JIRA)" <ji...@apache.org> on 2018/03/08 09:33:00 UTC

[jira] [Created] (IGNITE-7904) ComputeTaskFuture.get() throws incorrect exception if ComputeTask.result()

Stanislav Lukyanov created IGNITE-7904:
------------------------------------------

             Summary: ComputeTaskFuture.get() throws incorrect exception if ComputeTask.result()
                 Key: IGNITE-7904
                 URL: https://issues.apache.org/jira/browse/IGNITE-7904
             Project: Ignite
          Issue Type: Bug
            Reporter: Stanislav Lukyanov
            Assignee: Stanislav Lukyanov


ComputeTask.result() javadoc says: "Throws: IgniteException - If handling a job result caused an error effectively rejecting a failover. This exception will be thrown out of ComputeTaskFuture.get() method."

However, GridFutureAdapter calls IgniteUtils.cast(Throwable) on the exception before throwing it from get(), and the latter method trims the stack trace to the first occurence of an IgniteCheckedException. Because of that, get() throws not the IgniteException thrown from the ComputeTask.result() but one of its causes.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)