[jira] [Created] (IGNITE-8106) In control.sh -active, exception will be eaten and not displayed

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-8106) In control.sh -active, exception will be eaten and not displayed

Anton Vinogradov (Jira)
Ilya Kasnacheev created IGNITE-8106:
---------------------------------------

             Summary: In control.sh -active, exception will be eaten and not displayed
                 Key: IGNITE-8106
                 URL: https://issues.apache.org/jira/browse/IGNITE-8106
             Project: Ignite
          Issue Type: Bug
          Components: clients
    Affects Versions: 2.5
            Reporter: Ilya Kasnacheev


Here is the relevant code from GridChangeStateCommandHandler:
{code}
            sb.a(e.getMessage()).a("\n").a("suppressed: \n");

            for (Throwable t:e.getSuppressed())
                sb.a(t.getMessage()).a("\n");
{code}

However, before that code the exception will pass through IgniteUtils.convertException(), which will wrap the old IgniteCheckedException with suppressed parts with a new IgniteException with 0 suppressed.



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