[infinispan-issues] [JBoss JIRA] (ISPN-1886) DistributedExecutorService not working with non distributed cache

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Fri Feb 24 10:57:36 EST 2012


Galder Zamarreño created ISPN-1886:
--------------------------------------

             Summary: DistributedExecutorService not working with non distributed cache
                 Key: ISPN-1886
                 URL: https://issues.jboss.org/browse/ISPN-1886
             Project: Infinispan
          Issue Type: Bug
    Affects Versions: 5.1.1.FINAL
            Reporter: Galder Zamarreño
            Assignee: Vladimir Blagojevic
             Fix For: 5.1.2.CR1, 5.1.2.FINAL


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list