Performanceanalyzer this.cacheMaxSize" is null

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
2.13.0

Describe the issue:
Since upgrading from 2.12 to 2.13 i see the below WARN messages spamming the logs
Json Mapping Error: Cannot invoke “java.lang.Long.longValue()” because “this.cacheMaxSize” is null (through reference chain: org.opensearch.performanceanalyzer.collectors.CacheConfigMetricsCollector$CacheMaxSizeStatus[“Cache_MaxSize”])

1 Like

I have the same issue. What’s wrong?

Same here.

Hi,

I have similar issue:
| [2024-04-09T05:57:27,133][WARN ][o.o.p.c.u.JsonConverter ] [opensearch-node1] Json Mapping Error: Cannot invoke “java.lang.Long.longValue()” because “this.cacheMaxSize” is null (through reference chain: org.opensearch.performanceanalyzer.collectors.CacheConfigMetricsCollector$CacheMaxSizeStatus[“Cache_MaxSize”])

Any solution? I am running 3 node Cluster using Docker.

Same here.
Any solutions?

Raised on git [BUG]org.opensearch.performanceanalyzer.collectors.CacheConfigMetricsCollector$CacheMaxSizeStatus · Issue #644 · opensearch-project/performance-analyzer · GitHub