You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2015/04/28 13:55:12 UTC
[jira] [Created] (IGNITE-834) IgniteCache.clearAll() throws NPE.
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)