Skip to content

Unable to Debug Durable Entities on local machine #361

Description

@harrict

I'm trying to use Netherite with a durable function that also utilizes durable entities. The function app is a .NET 8 isolated function. I am trying to ensure the functionality works before publishing to Azure but when I test locally I get an error when calling any of the durable entity methods. When calling either SignalEntityAsync or CallEntityAsync I get an NullReferenceException at DurableTask.Core.Entities.OrchestrationEntityContext.AdjustOutgoingMessage. The null reference seems to be for this.innerContext.EntityParameters.EntityMessageReorderWindow.

More details:

  • I tested the function not using Netherite, just using Azure Storage, and it works fine
  • I've tried both Memory and SingleHost emulation modes as well as pointing directly to an event hub resource but still get the same error
  • The entity is a basic counter entity that is a copy of the example on microsoft's site

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions