On 1 Oct 2012, at 07:02, Thomas Fromm wrote:

Am 30.09.2012 23:08, schrieb Matej Lazar:
NPE was caused by not configured/started cache on the second node.

It would be great to detect such situation and throw an other exception instead of NPE.

Why throwing an Exception in general?

I'd be fine if the execution is ignored on the node where cache not
exists/started. The node is not part of the cluster of this cache.
+1

Cheers,
-- 
Mircea Markus
Infinispan lead (www.infinispan.org)