-
Notifications
You must be signed in to change notification settings - Fork 335
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
DaprClient.GetMetadataAsync() throwing Exception #1349
Comments
Able to reproduce (1.14.4, dotnet 1.14.0) with the following findings:
Eg. Running a sample dotnet app like the following works fine, regardless of where the But running
|
Based on my limited DotNet experience, I believe the issue here is that the DotNet client method is not checking for a nil pointer of the gRPC message for
|
Same issue as #1296 |
@marcduiker Thanks for finding the duplicate! @JoshVanL Your conclusion looks accurate to me. We have a lot of opportunities for .NET client improvement here:
I've created a PR with a fix for this issue and a separate pending PR that adds nullability annotations, so we can hopefully keep a few more of these from slipping through the cracks soon. |
Dapr.Client .NET package, this used to work in 1.10 but appears to be broken in 1.12 onwards; is now throwing a "Object reference not set to an instance". Have tried with 1.14 and same issue.
The text was updated successfully, but these errors were encountered: