Hi, I have a 2 node cache, and I use ClusterCacheLoader (JBossCache 1.4.1.SP3). I set inactiveOnStartup to true on startup of the AS, and as I deploy applications taht uses the cache, I activate the regions it uses programatically.
Problem is that when I deploy an app, in node one, it works perfectly. Then I deploy/start application in node 2, an exception is thrown.
java.lang.NullPointerException at org.jboss.cache.loader.ClusteredCacheLoader.callRemote(ClusteredCacheLoader.java:98) at org.jboss.cache.loader.ClusteredCacheLoader.getChildrenNames(ClusteredCacheLoader.java:66) at org.jboss.cache.loader.AsyncCacheLoader.getChildrenNames(AsyncCacheLoader.java:157)
if (((Boolean) clusteredGetResp.get(0)).booleanValue())
Boolean resp = (Boolean) ((clusteredGetResp!=null && clusteredGetResp.size()>0)? clusteredGetResp.get(0):null); if (resp !=null && resp.booleanValue())