Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1886

DistributedExecutorService not working with non distributed cache

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.1.2.FINAL
    • 5.1.1.FINAL
    • Clustered Executor
    • None

      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

              vblagoje Vladimir Blagojevic (Inactive)
              rh-ee-galder Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: