[ https://issues.apache.org/jira/browse/IGNITE-13770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17239814#comment-17239814 ]
Ilya Kasnacheev commented on IGNITE-13770: ------------------------------------------ [~agura] please review NPE fix. > Ignite.dataRegionMetrics throws NPE with empty persisted region > --------------------------------------------------------------- > > Key: IGNITE-13770 > URL: https://issues.apache.org/jira/browse/IGNITE-13770 > Project: Ignite > Issue Type: Bug > Components: cache > Affects Versions: 2.9 > Reporter: Ilya Kasnacheev > Assignee: Ilya Kasnacheev > Priority: Major > Labels: easyfix > Fix For: 2.9.1 > > Time Spent: 10m > Remaining Estimate: 0h > > {code} > java.lang.NullPointerException > at > org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl.checkpointBufferPagesCount(PageMemoryImpl.java:1823) > at > org.apache.ignite.internal.processors.cache.persistence.DataRegionMetricsImpl.getUsedCheckpointBufferPages(DataRegionMetricsImpl.java:287) > at > org.apache.ignite.internal.processors.cache.persistence.DataRegionMetricsSnapshot.<init>(DataRegionMetricsSnapshot.java:108) > at > org.apache.ignite.internal.processors.cache.persistence.IgniteCacheDatabaseSharedManager.memoryMetrics(IgniteCacheDatabaseSharedManager.java:815) > at > org.apache.ignite.internal.IgniteKernal.dataRegionMetrics(IgniteKernal.java:3773) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)