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

ArgumentNullException: 'The user name cannot be null or empty.' #3

Open
DanilovSoft opened this issue Nov 29, 2024 · 1 comment
Open
Labels
question Further information is requested

Comments

@DanilovSoft
Copy link

When there are no environment variables such as USERNAME and USER, an exception will be thrown: 'The user name cannot be null or empty.

image

@VitaliyMF
Copy link
Contributor

This is a known issue.

PrestoClientSessionConfig comes from PrestoClient nuget (another github repo): https://github.com/bamcis-io/PrestoClient/blob/main/PrestoClient/PrestoClientSessionConfig.cs, PR is already present: bamcis-io/PrestoClient#25

This cannot be fixed on NReco.PrestoAdo side, so the best workaround for now is setting something non-empty to env variable.

@VitaliyMF VitaliyMF added the question Further information is requested label Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants