[ https://issues.apache.org/jira/browse/IGNITE-17970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yury Gerzhedovich updated IGNITE-17970: --------------------------------------- Summary: NPE during check error code in SessionImpl (was: NPE during) > NPE during check error code in SessionImpl > ------------------------------------------ > > Key: IGNITE-17970 > URL: https://issues.apache.org/jira/browse/IGNITE-17970 > Project: Ignite > Issue Type: Bug > Components: sql > Reporter: Yury Gerzhedovich > Priority: Major > Labels: ignite-3 > > 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)