Skip to content

NPE in CircuitBreaker, wrong null check #403

Closed
@AbelPelser

Description

@AbelPelser

In CitcuitBreakerRetryPolicy:121 the performed null check checks the wrong member, it should check openTimeoutSupplier. This causes NPEs if resetTimeoutSupplier is not null but openTimeoutSupplier is, which happens if a @CircuitBreaker has a resetTimeoutExpression and no openTimeoutExpression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions