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

DistributedExecutorService not working with non distributed cache

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: