ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [48/51] incubator-ignite git commit: ignite-762 NPE at org.apache.ignite.internal.processors.cache.GridCacheSwapManager.swapSize
Date Tue, 21 Apr 2015 07:04:48 GMT
ignite-762 NPE at org.apache.ignite.internal.processors.cache.GridCacheSwapManager.swapSize


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/aaa5ceef
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/aaa5ceef
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/aaa5ceef

Branch: refs/heads/ignite-737
Commit: aaa5ceef5a46b1bc84c03d9fdfe23ec7f86b7023
Parents: d0e606f
Author: agura <agura@gridgain.com>
Authored: Fri Apr 17 15:48:00 2015 +0300
Committer: agura <agura@gridgain.com>
Committed: Mon Apr 20 17:55:40 2015 +0300

----------------------------------------------------------------------
 .../ignite/internal/managers/discovery/GridDiscoveryManager.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/aaa5ceef/modules/core/src/main/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManager.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManager.java
b/modules/core/src/main/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManager.java
index bb49fed..11fa261 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManager.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManager.java
@@ -660,7 +660,7 @@ public class GridDiscoveryManager extends GridManagerAdapter<DiscoverySpi>
{
                 Map<Integer, CacheMetrics> metrics = null;
 
                 for (GridCacheAdapter<?, ?> cache : caches) {
-                    if (cache.configuration().isStatisticsEnabled()) {
+                    if (cache.context().started() && cache.configuration().isStatisticsEnabled())
{
                         if (metrics == null)
                             metrics = U.newHashMap(caches.size());
 


Mime
View raw message