[
https://issues.apache.org/jira/browse/IGNITE-17970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yury Gerzhedovich reopened IGNITE-17970:
----------------------------------------
> 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)