[jira] [Created] (IGNITE-834) IgniteCache.clearAll() throws NPE.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-834) IgniteCache.clearAll() throws NPE.

Anton Vinogradov (Jira)
Vladimir Ozerov created IGNITE-834:
--------------------------------------

             Summary: IgniteCache.clearAll() throws NPE.
                 Key: IGNITE-834
                 URL: https://issues.apache.org/jira/browse/IGNITE-834
             Project: Ignite
          Issue Type: Bug
          Components: cache
    Affects Versions: sprint-2
            Reporter: Vladimir Ozerov
            Assignee: Yakov Zhdanov
            Priority: Critical
             Fix For: sprint-4


1) Define XML configuration with a cache.
2) Start dedicated node.
3) Start another node programmatically and execute IgniteCache.clearAll().
4) With pretty high probabolity you will see NPE originating from GrdiCacheAdapter.GlobalClearAllCallable.call().
Reason for this NPE is null returned from IgniteEx.cachex(). And this is not even a dynamically started cache, this is a cache defined in config and initialized on startup.

If any other cache operation occurrs before "clearAll", no exception is thrown.



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