dapr / dotnet-sdk

Dapr SDK for .NET
Apache License 2.0
1.12k stars 340 forks source link

GetMetadataAsync throws NullReferenceException #1296

Closed sclarke81 closed 1 month ago

sclarke81 commented 6 months ago

Expected Behavior

Calling GetMetadataAsync should return the metadata.

Actual Behavior

Calling GetMetadataAsync throws a NullReferenceException because response.ActorRuntime is null.

Steps to Reproduce the Problem

I'm using Dapr self-hosted without Docker containers (dapr init --slim). I'm also using the Dapr Sidekick project to run the sidecars. I haven't started the placement service because I'm not using actors.

Release Note

RELEASE NOTE:

jpiquot commented 4 months ago

I have the same issue on Azure Container Apps (1.12.5) but works in local development machine (1.13.2) running with Aspire.

WhitWaldo commented 1 month ago

Should be fixed with #1353