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

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Thu Mar 1 09:10:37 EST 2012


     [ https://issues.jboss.org/browse/ISPN-1886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done

    
> 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.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