[
https://issues.apache.org/jira/browse/IGNITE-12735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17050954#comment-17050954
]
Ivan Bessonov commented on IGNITE-12735:
----------------------------------------
[~agura] everything looks good, thank you for the fix!
> Metric exporter implementation could lead to NullPointerException from gauge
> which invoke communication
> -------------------------------------------------------------------------------------------------------
>
> Key: IGNITE-12735
> URL: https://issues.apache.org/jira/browse/IGNITE-12735
> Project: Ignite
> Issue Type: Improvement
> Reporter: Andrey N. Gura
> Assignee: Andrey N. Gura
> Priority: Major
> Fix For: 2.9
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {{ReadMetricsOnNodeStartupTest#testReadMetricsOnNodeStartup}} test fails
> sometimes. The reason is try to export gauge metric value while
> {{TcpCommunicationMetricsListener}} isn't initialized.
> **Proposed solution:**
> Register metrics after export SPIs are already started.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)