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

Ryan Emerson (JIRA) issues at jboss.org
Wed Aug 5 11:37:03 EDT 2015


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

Ryan Emerson updated ISPN-5569:
-------------------------------
              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/3631/files


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