[
https://issues.apache.org/jira/browse/IGNITE-20871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Igor Sapego reassigned IGNITE-20871:
------------------------------------
Assignee: Igor Sapego (was: Pavel Tupitsyn)
> throw sneakyThrow() causes incomplete stack traces
> --------------------------------------------------
>
> Key: IGNITE-20871
> URL: https://issues.apache.org/jira/browse/IGNITE-20871
> Project: Ignite
> Issue Type: Bug
> Components: thin client
> Affects Versions: 3.0.0-beta1
> Reporter: Pavel Tupitsyn
> Assignee: Igor Sapego
> Priority: Major
> Labels: ignite-3
> Fix For: 3.0.0-beta2
>
>
> *ClientUtils.sync* and some other places use the following code:
> {code}
> throw sneakyThrow(ExceptionUtils.unwrapToPublicException(e))
> {code}
> This causes incomplete stack trace, because we rethrow an existing exception.
> Instead, we should always create a new exception:
> {code}
> throw sneakyThrow(ExceptionUtils.copyExceptionWithCause(e));
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)