Skip to content
This repository was archived by the owner on Nov 4, 2021. It is now read-only.
This repository was archived by the owner on Nov 4, 2021. It is now read-only.

NullReferenceException during state change #1

Description

@nordic81

Hi,
I tried the CircuitBreaker from your nuget package and encountered a NullReferenceException instead of a CircuitBreakerTrippedException during the state change from "normal" to "tripped".

I think the exception occurs because the statemachine property in the states settings is null, and i think this is because of an initialization problem: The CircuitBreaker's constructor initialized the parameters with an uninitialized statemachine, so this property will ever be null.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions