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

NullPointerException when trying to recover cache

    XMLWordPrintable

Details

    Description

      2018-04-13 08:34:35,065 ERROR [transport-thread-x-service-2-p4-t20] (org.infinispan.topology.ClusterCacheStatus) ISPN000228: Failed to recover cache xx state after the current node became the coordinator
      java.lang.NullPointerException: null
      	at org.infinispan.partitionhandling.impl.PreferAvailabilityStrategy.lambda$static$0(PreferAvailabilityStrategy.java:33) ~[infinispan-core-9.2.0.Final.jar:9.2.0.Final]
      	at java.util.TimSort.countRunAndMakeAscending(TimSort.java:360) ~[?:1.8.0_144]
      	at java.util.TimSort.sort(TimSort.java:220) ~[?:1.8.0_144]
      	at java.util.Arrays.sort(Arrays.java:1512) ~[?:1.8.0_144]
      	at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:348) ~[?:1.8.0_144]
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_144]
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[?:1.8.0_144]
      	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_144]
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_144]
      	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[?:1.8.0_144]
      	at org.infinispan.partitionhandling.impl.PreferAvailabilityStrategy.onPartitionMerge(PreferAvailabilityStrategy.java:120) ~[infinispan-core-9.2.0.Final.jar:9.2.0.Final]
      	at org.infinispan.topology.ClusterCacheStatus.doMergePartitions(ClusterCacheStatus.java:597) ~[infinispan-core-9.2.0.Final.jar:9.2.0.Final]
      	at org.infinispan.topology.ClusterTopologyManagerImpl.lambda$recoverClusterStatus$6(ClusterTopologyManagerImpl.java:519) ~[infinispan-core-9.2.0.Final.jar:9.2.0.Final]
      	at org.infinispan.executors.LimitedExecutor.runTasks(LimitedExecutor.java:144) [infinispan-core-9.2.0.Final.jar:9.2.0.Final]
      	at org.infinispan.executors.LimitedExecutor.access$100(LimitedExecutor.java:33) [infinispan-core-9.2.0.Final.jar:9.2.0.Final]
      	at org.infinispan.executors.LimitedExecutor$Runner.run(LimitedExecutor.java:174) [infinispan-core-9.2.0.Final.jar:9.2.0.Final]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_144]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_144]
      	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jokerrrr Johno Crawford (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: