Skip to content

Problem in calling RuleUnitProviderImpl loadRuleUnits from a multithreaded context #6445

@kalepratham

Description

@kalepratham

While calling RuleUnitProviderImpl - loadRuleUnits() i.e. from the contructor, we have encountered a problem while doing so in a multithreaded context. The ruleUnitMap is a normal HashMap instead of a ConcurrentHashMap. This is causing a NPE for a brief moment before a next retry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions