[ 
https://issues.apache.org/jira/browse/GEODE-7081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16908535#comment-16908535
 ] 

ASF subversion and git services commented on GEODE-7081:
--------------------------------------------------------

Commit 433f5e93f918d3a237e021fe06ee1e123c04d552 in geode's branch 
refs/heads/release/1.10.0 from Aaron Lindsey
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=433f5e9 ]

GEODE-7081: Prevent NPE in getLocalSize()

Prevent PartitionedRegion's getLocalSize() from throwing a
NullPointerException if called before its internal data store is
initialized. The stats sampler uses this method to get the region's
entry count, and stats sampling may start before the internal data store
is initialized.

(cherry picked from commit e7beb9290175405c1f285add7c538a0a18df674e)


> NPE in PartitionedRegion.getLocalSize()
> ---------------------------------------
>
>                 Key: GEODE-7081
>                 URL: https://issues.apache.org/jira/browse/GEODE-7081
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Aaron Lindsey
>            Assignee: Aaron Lindsey
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> PartitionedRegion.getLocalSize() throws a NullPointerException if called 
> before PartitionedRegion.initialize(). It should return zero instead of 
> throwing.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to