You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ivan Veselovsky (JIRA)" <ji...@apache.org> on 2015/10/15 13:59:05 UTC

[jira] [Created] (IGNITE-1691) [Test] CacheStopAndDestroySelfTest.testDhtDoubleDestroy fails with NPE sometimes.

Ivan Veselovsky created IGNITE-1691:
---------------------------------------

             Summary: [Test] CacheStopAndDestroySelfTest.testDhtDoubleDestroy fails with NPE sometimes.
                 Key: IGNITE-1691
                 URL: https://issues.apache.org/jira/browse/IGNITE-1691
             Project: Ignite
          Issue Type: Test
            Reporter: Ivan Veselovsky


The problem is that  c.context().config() returns null after the cache was cleaned up.
 for (IgniteCacheProxy<?, ?> c : g0.context().cache().jcaches()) {
                CacheConfiguration cfg = c.context().config();


java.lang.NullPointerException: null
    at org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:416)
    at org.apache.ignite.internal.processors.cache.CacheStopAndDestroySelfTest.checkDestroyed(CacheStopAndDestroySelfTest.java:754)
    at org.apache.ignite.internal.processors.cache.CacheStopAndDestroySelfTest.dhtDestroy(CacheStopAndDestroySelfTest.java:226)
    at org.apache.ignite.internal.processors.cache.CacheStopAndDestroySelfTest.testDhtDoubleDestroy(CacheStopAndDestroySelfTest.java:199)

Hint: to achieve better reproducibility repeat dhtDestroy(); operation in the test not 2, but several tens times.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)