Skip to content

GH-1004: [JDBC] Fix NPE in ArrowFlightJdbcDriver#connect​(final String url, final Properties info) #1005

Merged
jbonofre merged 3 commits intoapache:mainfrom
ennuite:fix-get-connection-npe
Mar 11, 2026
Merged

GH-1004: [JDBC] Fix NPE in ArrowFlightJdbcDriver#connect​(final String url, final Properties info) #1005
jbonofre merged 3 commits intoapache:mainfrom
ennuite:fix-get-connection-npe

Conversation

@ennuite
Copy link
Contributor

@ennuite ennuite commented Feb 5, 2026

What's Changed

ArrowFlightJdbcDriver.connect(final String url, final Properties info) now properly ignores a null value for info, obtaining the properties solely from the URL.

Closes #1004.

@github-actions

This comment has been minimized.

@jbonofre jbonofre added the bug-fix PRs that fix a big. label Feb 8, 2026
@github-actions github-actions bot added this to the 19.0.0 milestone Feb 8, 2026
Copy link
Member

@jbonofre jbonofre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That should be pretty rare, but worth to avoid this.

@jbonofre
Copy link
Member

jbonofre commented Feb 8, 2026

NB: the tests won't pass (see #1002). I will rebase as soon as CI is green again.

@jbonofre
Copy link
Member

@ennuite can you please rebase this PR ? The CI should be ok now.

@ennuite
Copy link
Contributor Author

ennuite commented Feb 23, 2026

@jbonofre done. Is this ok to merge? It seems like CI only ran the format and not the tests...

@jbonofre jbonofre merged commit 18de621 into apache:main Mar 11, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix PRs that fix a big.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[JDBC] NullPointerException in DriverManager#getConnection​(String url, Properties info)

2 participants