[infinispan-issues] [JBoss JIRA] (ISPN-5569) NullPointerException on JCache.putAll(ConcurrentHashMap)

Galder Zamarreño (JIRA) issues at jboss.org
Thu Aug 20 03:01:26 EDT 2015


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

Galder Zamarreño updated ISPN-5569:
-----------------------------------
           Status: Resolved  (was: Pull Request Sent)
    Fix Version/s: 8.0.0.CR1
                   8.0.0.Final
       Resolution: Done


> NullPointerException on JCache.putAll(ConcurrentHashMap)
> --------------------------------------------------------
>
>                 Key: ISPN-5569
>                 URL: https://issues.jboss.org/browse/ISPN-5569
>             Project: Infinispan
>          Issue Type: Bug
>    Affects Versions: 7.2.2.Final
>            Reporter: Michael Gysel
>            Assignee: Ryan Emerson
>             Fix For: 8.0.0.CR1, 8.0.0.Final
>
>
> Class {{org.infinispan.jcache.embedded.JCache<K, V>}}
> {code:java}@Override
>    public void putAll(Map<? extends K, ? extends V> inputMap) {
>       checkNotClosed();
>       // spec required check
>       if (inputMap == null || inputMap.containsKey(null) || inputMap.containsValue(null)) {
>          throw new NullPointerException(
>             "inputMap is null or keys/values contain a null entry: " + inputMap);
>       }
>    // more code
>    }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)



More information about the infinispan-issues mailing list