Skip to content

Sql Server Client may report an IndexOutOfBoundsException when using cursor#1584

Merged
tsegismont merged 1 commit into
eclipse-vertx:5.0from
tsegismont:backport-1583
Dec 2, 2025
Merged

Sql Server Client may report an IndexOutOfBoundsException when using cursor#1584
tsegismont merged 1 commit into
eclipse-vertx:5.0from
tsegismont:backport-1583

Conversation

@tsegismont
Copy link
Copy Markdown
Member

Backport of #1583

…cursor (eclipse-vertx#1583)

See eclipse-vertx#1582

When using cursors, and the number of columns in the query result is a multiple of 8, and some of them have the NULL value, the client may report an IndexOutOfBoundsException.

This happens because with cursors, there is an extra ROWSTAT column on the wire that wasn't accounted for by the NBCROW decoder.

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
@tsegismont tsegismont added this to the 5.0.6 milestone Dec 2, 2025
@tsegismont tsegismont merged commit 68369c2 into eclipse-vertx:5.0 Dec 2, 2025
18 checks passed
@tsegismont tsegismont deleted the backport-1583 branch December 2, 2025 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant