[ https://issues.apache.org/jira/browse/IGNITE-19350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17715775#comment-17715775 ]
Ignite TC Bot commented on IGNITE-19350: ---------------------------------------- {panel:title=Branch: [pull/10663/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel} {panel:title=Branch: [pull/10663/head] Base: [master] : New Tests (2)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1} {color:#00008b}Thin Client: Java{color} [[tests 1|https://ci2.ignite.apache.org/viewLog.html?buildId=7150227]] * {color:#013220}ClientTestSuite: FunctionalQueryTest.testEmptyQuery - PASSED{color} {color:#00008b}Calcite SQL{color} [[tests 1|https://ci2.ignite.apache.org/viewLog.html?buildId=7150160]] * {color:#013220}IgniteCalciteTestSuite: CalciteQueryProcessorTest.testEmptyQuery - PASSED{color} {panel} [TeamCity *--> Run :: All* Results|https://ci2.ignite.apache.org/viewLog.html?buildId=7150241&buildTypeId=IgniteTests24Java8_RunAll] > Fix assertion error in case of empty SQL query > ---------------------------------------------- > > Key: IGNITE-19350 > URL: https://issues.apache.org/jira/browse/IGNITE-19350 > Project: Ignite > Issue Type: Bug > Reporter: Nikita Amelchev > Assignee: Nikita Amelchev > Priority: Major > Labels: ise > Fix For: 2.16 > > Time Spent: 0.5h > Remaining Estimate: 0h > > Empty SQL query throws AssertionError or IndexOutOfBoundsException. > SqlParseException is more suitable for this case. > {noformat} > [20:43:59,672][SEVERE][client-connector-#84%48a3ed6f-4945-42c9-a5f6-09c1f1d26e35%][ClientListenerNioListener] > Failed to process client request > [req=o.a.i.i.processors.platform.client.cache.ClientCacheSqlFieldsQueryRequest@5fa679b6, > msg=null] > java.lang.AssertionError > at > org.apache.ignite.internal.processors.platform.client.cache.ClientCacheSqlFieldsQueryRequest.process(ClientCacheSqlFieldsQueryRequest.java:152) > at > org.apache.ignite.internal.processors.platform.client.ClientRequestHandler.handle(ClientRequestHandler.java:101) > at > org.apache.ignite.internal.processors.odbc.ClientListenerNioListener.onMessage(ClientListenerNioListener.java:209) > at > org.apache.ignite.internal.processors.odbc.ClientListenerNioListener.onMessage(ClientListenerNioListener.java:55) > at > org.apache.ignite.internal.util.nio.GridNioFilterChain$TailFilter.onMessageReceived(GridNioFilterChain.java:279) > at > org.apache.ignite.internal.util.nio.GridNioFilterAdapter.proceedMessageReceived(GridNioFilterAdapter.java:109) > at > org.apache.ignite.internal.util.nio.GridNioAsyncNotifyFilter$3.body(GridNioAsyncNotifyFilter.java:97) > at > org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:125) > at > org.apache.ignite.internal.util.worker.GridWorkerPool$1.run(GridWorkerPool.java:70) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:750) > [20:43:59] (err) Unexpected exception > message.org.apache.ignite.client.ClientException: Ignite failed to process > request [3]: 50000: null (server status code [1]) > {noformat} > {noformat} > [20:42:55] (err) Unexpected exception.java.lang.IndexOutOfBoundsException: > Index: 0, Size: 0 > at java.util.ArrayList.rangeCheck(ArrayList.java:659) > at java.util.ArrayList.get(ArrayList.java:435) > at > org.apache.ignite.internal.processors.query.GridQueryProcessor.querySqlFields(GridQueryProcessor.java:2985) > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)