Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-13608

Using stream.filterKeys(null) leads to an NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 13.0.6.Final, 14.0.0.Final
    • 13.0.5.Final, 14.0.0.Final
    • Core
    • None

      Using stream.filterKeys(null) leads to an NPE, while it should actually be a no-op or revert to "no filtering".

      java.lang.NullPointerException
      	at org.infinispan@12.1.7.Final//org.infinispan.util.CollectionMapper.iterator(CollectionMapper.java:44)
      	at org.infinispan@12.1.7.Final//org.infinispan.reactive.publisher.impl.ClusterPublisherManagerImpl.determineKeyTargets(ClusterPublisherManagerImpl.java:663)
      	at org.infinispan@12.1.7.Final//org.infinispan.reactive.publisher.impl.ClusterPublisherManagerImpl.startKeyPublisher(ClusterPublisherManagerImpl.java:213)
      	at org.infinispan@12.1.7.Final//org.infinispan.reactive.publisher.impl.ClusterPublisherManagerImpl.reduction(ClusterPublisherManagerImpl.java:166)
      	at org.infinispan@12.1.7.Final//org.infinispan.reactive.publisher.impl.ClusterPublisherManagerImpl.entryReduction(ClusterPublisherManagerImpl.java:150)
      	at org.infinispan@12.1.7.Final//org.infinispan.stream.impl.AbstractCacheStream.performPublisherOperation(AbstractCacheStream.java:204)
      	at org.infinispan@12.1.7.Final//org.infinispan.stream.impl.DistributedCacheStream.reduce(DistributedCacheStream.java:248)
      	at org.infinispan@12.1.7.Final//org.infinispan.util.AbstractDelegatingCacheStream.reduce(AbstractDelegatingCacheStream.java:162)
      

              Unassigned Unassigned
              heli80 Helmut Jelinek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: