[infinispan-dev] few bugs
Vladimir Blagojevic
vblagoje at redhat.com
Thu Feb 23 19:42:47 EST 2012
On 12-02-23 8:02 PM, Ales Justin wrote:
> Using Infinispan 5.1.1.Final in custom AS7 branch.
>
> 1) using DistributedExecutorService::submit with non<distributable-cache> results in NPE
>
> protected<K> Map<Address, List<K>> mapKeysToNodes(K... input) {
> DistributionManager dm = cache.getDistributionManager();
> Map<Address, List<K>> addressToKey = new HashMap<Address, List<K>>(input.length * 2);
> for (K key : input) {
> Address ownerOfKey = dm.getPrimaryLocation(key); //<------- dm is null
Cool, will fix this, first thing in the morning! I thought we had a
check somewhere if dist cache was enabled but apparently not!
More information about the infinispan-dev
mailing list