Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PgClient: NPE when inserting null param with default param extractor #1486

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

tsegismont
Copy link
Contributor

See #1477

This is a regression introduced in #1464

When the value is null, the extractor throws a failure. Then, in ErrorMessageFactory.buildWhenArgumentsTypeNotMatched, a NPE is thrown because the value of the class cannot be determined.

See eclipse-vertx#1477

This is a regression introduced in eclipse-vertx#1464

When the value is null, the extractor throws a failure.
Then, in ErrorMessageFactory.buildWhenArgumentsTypeNotMatched, a NPE is thrown because the value of the class cannot be determined.

Signed-off-by: Thomas Segismont <[email protected]>
@tsegismont tsegismont merged commit dfec159 into eclipse-vertx:master Jan 17, 2025
18 checks passed
@tsegismont tsegismont deleted the issue/1477 branch January 17, 2025 16:50
tsegismont added a commit to tsegismont/vertx-sql-client that referenced this pull request Jan 17, 2025
…clipse-vertx#1486)

See eclipse-vertx#1477

This is a regression introduced in eclipse-vertx#1464

When the value is null, the extractor throws a failure.
Then, in ErrorMessageFactory.buildWhenArgumentsTypeNotMatched, a NPE is thrown because the value of the class cannot be determined.

Signed-off-by: Thomas Segismont <[email protected]>
tsegismont added a commit that referenced this pull request Jan 17, 2025
…1486) (#1487)

See #1477

This is a regression introduced in #1464

When the value is null, the extractor throws a failure.
Then, in ErrorMessageFactory.buildWhenArgumentsTypeNotMatched, a NPE is thrown because the value of the class cannot be determined.

Signed-off-by: Thomas Segismont <[email protected]>
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