Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
13.0.5.Final
-
None
Description
When using infinispan-spring-boot-starter-remote in a Spring Project with multiple Cache Managers and Spring actuator, the class org.infinispan.spring.starter.remote.actuator.RemoteInfinispanCacheMeterBinderProvider creates a new Instance of RemoteInfinispanCacheMeterBinder using null as the cache construtor param for unsupported caches. This leads directly to a NullPointerException in org.infinispan.spring.starter.remote.actuator.RemoteInfinispanCacheMeterBinder (see Line 21 cache.getName()). According to the Spring API Documentation the method getMeterBinder should return null for unsupported caches (see https://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/actuate/metrics/cache/CacheMeterBinderProvider.html).