-
Bug
-
Resolution: Done
-
Critical
-
JDG 7.2 ER1
-
None
-
None
When stopping a 4-node cluster of JDG nodes which use clustered counters the following error appears:
ISPN000452: Failed to update topology for cache ___counters java.lang.NullPointerException: null at org.infinispan.persistence.file.SingleFileStore.process(SingleFileStore.java:504) ~[infinispan-core-8.5.0.ER1-redhat-1.jar:8.5.0.ER1-redhat-1] at org.infinispan.persistence.manager.PersistenceManagerImpl.processOnAllStores(PersistenceManagerImpl.java:466) ~[infinispan-core-8.5.0.ER1-redhat-1.jar:8.5.0.ER1-redhat-1] at org.infinispan.persistence.manager.PersistenceManagerImpl.processOnAllStores(PersistenceManagerImpl.java:457) ~[infinispan-core-8.5.0.ER1-redhat-1.jar:8.5.0.ER1-redhat-1] at org.infinispan.statetransfer.StateConsumerImpl.removeStaleData(StateConsumerImpl.java:962) ~[infinispan-core-8.5.0.ER1-redhat-1.jar:8.5.0.ER1-redhat-1] at org.infinispan.statetransfer.StateConsumerImpl.onTopologyUpdate(StateConsumerImpl.java:497) ~[infinispan-core-8.5.0.ER1-redhat-1.jar:8.5.0.ER1-redhat-1] at org.infinispan.statetransfer.StateTransferManagerImpl.doTopologyUpdate(StateTransferManagerImpl.java:207) ~[infinispan-core-8.5.0.ER1-redhat-1.jar:8.5.0.ER1-redhat-1] at org.infinispan.statetransfer.StateTransferManagerImpl.access$000(StateTransferManagerImpl.java:53) ~[infinispan-core-8.5.0.ER1-redhat-1.jar:8.5.0.ER1-redhat-1] at org.infinispan.statetransfer.StateTransferManagerImpl$1.updateConsistentHash(StateTransferManagerImpl.java:128) ~[infinispan-core-8.5.0.ER1-redhat-1.jar:8.5.0.ER1-redhat-1] at org.infinispan.topology.LocalTopologyManagerImpl.doHandleTopologyUpdate(LocalTopologyManagerImpl.java:364) ~[infinispan-core-8.5.0.ER1-redhat-1.jar:8.5.0.ER1-redhat-1] at org.infinispan.topology.LocalTopologyManagerImpl.lambda$handleTopologyUpdate$1(LocalTopologyManagerImpl.java:266) ~[infinispan-core-8.5.0.ER1-redhat-1.jar:8.5.0.ER1-redhat-1] at org.infinispan.executors.LimitedExecutor.runTasks(LimitedExecutor.java:144) [infinispan-core-8.5.0.ER1-redhat-1.jar:8.5.0.ER1-redhat-1] at org.infinispan.executors.LimitedExecutor.access$100(LimitedExecutor.java:33) [infinispan-core-8.5.0.ER1-redhat-1.jar:8.5.0.ER1-redhat-1] at org.infinispan.executors.LimitedExecutor$Runner.run(LimitedExecutor.java:174) [infinispan-core-8.5.0.ER1-redhat-1.jar:8.5.0.ER1-redhat-1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_151] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_151] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
The whole log can be seen at https://jdg-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Perf/job/jdg-perf-lib-clustered-counters/15/console-edg-perf09-8dadfde9-987d-42a0-a520-5934ae4733ea/
The configuration file look like this:
<infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:infinispan:config:8.5 http://www.infinispan.org/schemas/infinispan-config-8.5.xsd urn:infinispan:config:counters:8.5 infinispan-counters-config-8.5.xsd" xmlns="urn:infinispan:config:8.5"> <jgroups> <stack-file name="jgroupsStack" path="${infinispan.jgroups.config:default-configs/default-jgroups-udp.xml}"/> </jgroups> <cache-container name="default" default-cache="testCache"> <transport stack="jgroupsStack" lock-timeout="600000" cluster="default" /> <global-state> <persistent-location path="/tmp/${log4j.file.prefix}" /> </global-state> <jmx> <property name="enabled">true</property> </jmx> <replicated-cache name="testCache" mode="SYNC"/> <modules> <counters xmlns="urn:infinispan:config:counters:8.5" num-owners="2" reliability="CONSISTENT"> <strong-counter name="c1" initial-value="0" storage="PERSISTENT"/> <strong-counter name="c2" initial-value="0" storage="VOLATILE"/> <strong-counter name="c3" initial-value="0" storage="PERSISTENT"> <upper-bound value="5"/> </strong-counter> <strong-counter name="c4" initial-value="0" storage="VOLATILE"> <lower-bound value="0"/> <upper-bound value="10"/> </strong-counter> <weak-counter name="c5" initial-value="5" storage="PERSISTENT" concurrency-level="2"/> </counters> </modules> </cache-container> </infinispan>
- clones
-
ISPN-8854 NullPointerException in SingleFileStore
- Closed