1 Reply Latest reply on May 4, 2017 10:18 AM by Pedro Ruivo

    NPE at org.infinispan.topology.ClusterTopologyManagerImpl.isRebalancingEnabled

    Roman Karpenko Newbie

      Hello Guys,

       

      Infinispan version 8.1.7

      Could you please advise what is wrong ?

      I have got following exception:

       

      11:20:02.943 [cloud:background-1-30] WARN  o.i.t.CacheTopologyControlCommand - ISPN000071: Caught exception when handling command CacheTopologyControlCommand{cache=users, type=POLICY_GET_STATUS,0, rebalanceId=0, currentCH=null, pendingCH=null, availabilityMode=null, actualMembers=null, throwable=null, viewId=2}

      java.lang.NullPointerException: null

              at org.infinispan.topology.ClusterTopologyManagerImpl.isRebalancingEnabled(ClusterTopologyManagerImpl.java:600)

              at org.infinispan.topology.CacheTopologyControlCommand.doPerform(CacheTopologyControlCommand.java:190)

              at org.infinispan.topology.CacheTopologyControlCommand.perform(CacheTopologyControlCommand.java:146)

              at org.infinispan.topology.LocalTopologyManagerImpl.executeOnCoordinator(LocalTopologyManagerImpl.java:602)

              at org.infinispan.topology.LocalTopologyManagerImpl.isCacheRebalancingEnabled(LocalTopologyManagerImpl.java:536)

              at org.infinispan.cache.impl.CacheImpl.isRebalancingEnabled(CacheImpl.java:985)

              at sun.reflect.GeneratedMethodAccessor539.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at java.lang.reflect.Method.invoke(Method.java:498)

              at org.infinispan.jmx.ResourceDMBean$InvokableSetterBasedMBeanAttributeInfo.invoke(ResourceDMBean.java:394)

              at org.infinispan.jmx.ResourceDMBean.getNamedAttribute(ResourceDMBean.java:298)

              at org.infinispan.jmx.ResourceDMBean.getAttributes(ResourceDMBean.java:197)

              at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttributes(DefaultMBeanServerInterceptor.java:709)

              at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttributes(JmxMBeanServer.java:705)

              at com.netflix.servo.publish.JmxMetricPoller.batchLoadAttributes(JmxMetricPoller.java:325)

              at com.netflix.servo.publish.JmxMetricPoller.safelyLoadAttributes(JmxMetricPoller.java:310)

              at com.netflix.servo.publish.JmxMetricPoller.getMetrics(JmxMetricPoller.java:205)

              at com.netflix.servo.publish.JmxMetricPoller.poll(JmxMetricPoller.java:288)

              at com.netflix.servo.publish.PollRunnable.run(PollRunnable.java:82)

              at com.playtech.crossteam.boot.JMXMonitoringHandler.lambda$setupGraphite$5(JMXMonitoringHandler.java:80)

              at com.playtech.crossteam.support.RxPlatform.lambda$null$4(RxPlatform.java:119)

              at com.playtech.crossteam.support.RxPlatform.lambda$work$2(RxPlatform.java:96)

              at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)

      ExecutorScheduler.java:107)dulers.ExecutorScheduler$ExecutorSchedulerWorker.run(--More--

              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

              at java.util.concurrent.FutureTask.run(FutureTask.java:266)

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

              at java.lang.Thread.run(Thread.java:745)