-
Notifications
You must be signed in to change notification settings - Fork 171
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
SNOW-1903631: Unclear error message when no password set in DataSource #2055
Comments
hi and thank you for raising this with us, also for your contribution in the PR #2056 ! speaking of which, since it looks like you're checking for of course please anonymize it or replace account etc. with dummy data, but I'm curious what authentication method you're using and how exactly to get into this situation. thank you ! |
ah, nevermind, i missed the negation :) the team will review your PR. |
Hi @fabiencelier |
The PR is merged and will be part of the next release |
We keep the issue open until release |
Please answer these questions before submitting your issue.
In order to accurately debug the issue this information is required. Thanks!
3.19.0
Linux - Ubuntu 24.10
Java 21
Create a
DataSource
where the password is not set.When calling
SnowflakeBasicDataSource.getConnection()
the method throws as there is no password. Throwing is expected but the message is not clear as it a NullPointerException while inserting into a ConcurrentHashMap:I expect a clearer error message such as
https://community.snowflake.com/s/article/How-to-generate-log-file-on-Snowflake-connectors
The text was updated successfully, but these errors were encountered: