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

NPE from stats with multimap in server mode

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Community user found a NPE when utilizing multimap operations in server mode in the latest 14 builds.

      Discussion can be found at https://infinispan.zulipchat.com/#narrow/stream/118645-infinispan/topic/NPE.20in.20stats.20with.20Infinispan.2014.2E0.2E20

      It appears it only happens when stats are enabled and possibly ignore previous values, but no reproducer has been found.

      IntelliJ already identifies the NPE in question due to a previous null check in the code base

      Caused by: java.lang.NullPointerException: Cannot invoke "org.infinispan.functional.impl.StatsEnvelope.isDelete()" because "envelope" is null
      at org.infinispan.interceptors.impl.CacheMgmtInterceptor.lambda$updateStatisticsReadWrite$10(CacheMgmtInterceptor.java:395)
      at org.infinispan.interceptors.InvocationSuccessFunction.apply(InvocationSuccessFunction.java:25)
      

              wburns@redhat.com Will Burns
              wburns@redhat.com Will Burns
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: