[GEODE-176] fixes the issue
Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/863c4ca3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/863c4ca3 Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/863c4ca3 Branch: refs/heads/feature/GEODE-137 Commit: 863c4ca3471b96344e26dda80e4d39c4f6a8da52 Parents: cd06fb9 Author: eshu <e...@pivotal.io> Authored: Thu Jul 30 11:42:28 2015 -0700 Committer: Qihong Chen <qc...@pivotal.io> Committed: Thu Aug 6 10:07:47 2015 -0700 ---------------------------------------------------------------------- .../gemfire/internal/offheap/SimpleMemoryAllocatorImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/863c4ca3/gemfire-core/src/main/java/com/gemstone/gemfire/internal/offheap/SimpleMemoryAllocatorImpl.java ---------------------------------------------------------------------- diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/internal/offheap/SimpleMemoryAllocatorImpl.java b/gemfire-core/src/main/java/com/gemstone/gemfire/internal/offheap/SimpleMemoryAllocatorImpl.java index edb24d1..29319e0 100644 --- a/gemfire-core/src/main/java/com/gemstone/gemfire/internal/offheap/SimpleMemoryAllocatorImpl.java +++ b/gemfire-core/src/main/java/com/gemstone/gemfire/internal/offheap/SimpleMemoryAllocatorImpl.java @@ -348,7 +348,7 @@ public final class SimpleMemoryAllocatorImpl implements MemoryAllocator, MemoryI Set<BucketRegion> brs = prs.getAllLocalBucketRegions(); if (brs != null) { for (BucketRegion br : brs) { - if (br != null) { + if (br != null && !br.isDestroyed()) { this.basicGetRegionLiveChunks(br, result); }