Vadim Pakhnushev created IGNITE-27127:
-----------------------------------------

             Summary: NPE in CLI SQL
                 Key: IGNITE-27127
                 URL: https://issues.apache.org/jira/browse/IGNITE-27127
             Project: Ignite
          Issue Type: Bug
          Components: cli ai3
            Reporter: Vadim Pakhnushev
            Assignee: Vadim Pakhnushev


In some rare cases, running the {{sql}} command in CLI results in the following 
exception:
{noformat}
2025-11-18 21:35:55:764 +0000 [ERROR][main][ExceptionHandler] Unhandled 
exception
java.lang.NullPointerException: Cannot invoke "String.hashCode()" because 
"<local5>" is null
        at 
org.apache.ignite.internal.cli.core.exception.handler.SqlExceptionHandler.handle(SqlExceptionHandler.java:128)
        at 
org.apache.ignite.internal.cli.commands.sql.SqlExecReplCommand.run(SqlExecReplCommand.java:150)
...
{noformat}
This happens because {{SqlException.getSQLState}} returns {{null}}.



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

Reply via email to