dapr / dotnet-sdk

Dapr SDK for .NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GetMetadataAsync throws NullReferenceException

sclarke81 opened this issue · comments

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:

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