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

Michael Gysel (JIRA) issues at jboss.org
Mon Jun 22 03:57:02 EDT 2015


Michael Gysel created ISPN-5569:
-----------------------------------

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


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