Skip to content

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

Merged
tsegismont merged 1 commit intoeclipse-vertx:4.xfrom
tsegismont:backport-1583-4x
Dec 2, 2025
Merged

Sql Server Client may report an IndexOutOfBoundsException when using cursor#1585
tsegismont merged 1 commit intoeclipse-vertx:4.xfrom
tsegismont:backport-1583-4x

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 merged commit ba112bf into eclipse-vertx:4.x Dec 2, 2025
24 checks passed
@tsegismont tsegismont deleted the backport-1583-4x 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