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)

Reply via email to