You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Yury Gerzhedovich (Jira)" <ji...@apache.org> on 2022/10/25 09:42:00 UTC

[jira] [Created] (IGNITE-17970) NPE during

Yury Gerzhedovich created IGNITE-17970:
------------------------------------------

             Summary: NPE during
                 Key: IGNITE-17970
                 URL: https://issues.apache.org/jira/browse/IGNITE-17970
             Project: Ignite
          Issue Type: Improvement
          Components: sql
            Reporter: Yury Gerzhedovich


At line 179 in SessionImpl class we compare Integer result of IgniteExceptionUtils.getIgniteErrorCode invocation with int, but result invocation could be null.
Need to fix NPE for the case
{code:java}
if (IgniteExceptionUtils.getIgniteErrorCode(th) == SESSION_NOT_FOUND_ERR) {
    closeInternal();
} {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)