[
https://issues.jboss.org/browse/ISPN-2910?page=com.atlassian.jira.plugin....
]
Mircea Markus commented on ISPN-2910:
-------------------------------------
seems to happen when there are no nodes in the cluster.
Divide by zero exception on shutdown
------------------------------------
Key: ISPN-2910
URL:
https://issues.jboss.org/browse/ISPN-2910
Project: Infinispan
Issue Type: Bug
Affects Versions: 5.2.1.Final
Reporter: Paul Ferraro
Assignee: Dan Berindei
19:40:50,671 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport]
(Incoming-2,shared=udp) ISPN000094: Received new cluster view: [perf20/web|13]
[perf20/web, perf21/web]
19:40:50,754 ERROR [org.infinispan.topology.ClusterTopologyManagerImpl]
(notification-thread-0) ISPN000196: Failed to recover cluster state after the current node
became the coordinator: java.lang.ArithmeticException: / by zero
at
org.infinispan.distribution.ch.DefaultConsistentHashFactory.addPrimaryOwners(DefaultConsistentHashFactory.java:130)
at
org.infinispan.distribution.ch.DefaultConsistentHashFactory.rebalanceBuilder(DefaultConsistentHashFactory.java:124)
at
org.infinispan.distribution.ch.DefaultConsistentHashFactory.updateMembers(DefaultConsistentHashFactory.java:86)
at
org.infinispan.distribution.ch.DefaultConsistentHashFactory.updateMembers(DefaultConsistentHashFactory.java:45)
at
org.infinispan.topology.ClusterTopologyManagerImpl.updateCacheStatusAfterMerge(ClusterTopologyManagerImpl.java:306)
at
org.infinispan.topology.ClusterTopologyManagerImpl.handleNewView(ClusterTopologyManagerImpl.java:236)
at
org.infinispan.topology.ClusterTopologyManagerImpl$ClusterViewListener.handleViewChange(ClusterTopologyManagerImpl.java:597)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_38]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[rt.jar:1.6.0_38]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[rt.jar:1.6.0_38]
at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_38]
at
org.infinispan.notifications.AbstractListenerImpl$ListenerInvocation$1.run(AbstractListenerImpl.java:212)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[rt.jar:1.6.0_38]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[rt.jar:1.6.0_38]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_38]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira