StatsNamedContainer#getOrCompute throws NullPointerException when computed value is null

Description

StatsNamedContainer#getOrCompute should return null if the computed value is null.

This affects StatisticsImpl#getCacheRegionStatistics when there is no domain region with the specified name, and the query cache is disabled.

Environment

None

Status

Assignee

Gail Badner

Reporter

Gail Badner

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

Approved

Components

Affects versions

5.4.5
5.3.11

Priority

Major
Configure