Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-beta1
Description
In IGNITE-17060 was added support for executing scripts using client API.
But e2e tests were not enabled (missing @Test annotation).
For example test ItSqlClientSynchronousApiTest#runScriptThatCompletesSuccessfully fails with the following error:
java.lang.IndexOutOfBoundsException: index: 191, length: 1 (expected: range(0, 191)) at io.netty.buffer.AbstractByteBuf.checkRangeBounds(AbstractByteBuf.java:1390) ~[netty-buffer-4.1.100.Final.jar:4.1.100.Final] at io.netty.buffer.AbstractByteBuf.checkIndex0(AbstractByteBuf.java:1397) ~[netty-buffer-4.1.100.Final.jar:4.1.100.Final] at io.netty.buffer.PooledSlicedByteBuf.getByte(PooledSlicedByteBuf.java:128) ~[netty-buffer-4.1.100.Final.jar:4.1.100.Final] at org.apache.ignite.internal.client.proto.ClientMessageUnpacker.tryUnpackNil(ClientMessageUnpacker.java:458) ~[main/:?] at org.apache.ignite.client.handler.requests.sql.ClientSqlExecuteRequest.readSession(ClientSqlExecuteRequest.java:178) ~[main/:?] at org.apache.ignite.client.handler.requests.sql.ClientSqlExecuteScriptRequest.process(ClientSqlExecuteScriptRequest.java:46) ~[main/:?] at org.apache.ignite.client.handler.ClientInboundMessageHandler.processOperation(ClientInboundMessageHandler.java:692) [main/:?] at org.apache.ignite.client.handler.ClientInboundMessageHandler.processOperation(ClientInboundMessageHandler.java:508) [main/:?] at org.apache.ignite.client.handler.ClientInboundMessageHandler.channelRead(ClientInboundMessageHandler.java:287) [main/:?
Attachments
Issue Links
- relates to
-
IGNITE-17060 Thin 3.0: Implement script SQL API for java thin client
- Resolved
- links to