]
Dennis Reed updated JBAS-9389:
------------------------------
Attachment: test-service.xml
"/ by zero" in ExtendedElectionPolicySimple
-------------------------------------------
Key: JBAS-9389
URL:
https://issues.jboss.org/browse/JBAS-9389
Project: Legacy JBoss Application Server 6
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Clustering
Affects Versions: JBossAS-4.2.3.GA
Reporter: Dennis Reed
Assignee: Dennis Reed
Attachments: test-service.xml
Error when shutting down JBoss with an HASingleton using a custom
ExtendedElectionPolicySimple
that is not deployed on all nodes.
WARN [HASingletonController] Stopping failed test:service=TestElectionPolicyBug
java.lang.ArithmeticException: / by zero
at
org.jboss.ha.singleton.ExtendedElectionPolicySimple.elect(ExtendedElectionPolicySimple.java:72)
at
org.jboss.ha.singleton.ExtendedElectionPolicyBase.pickSingleton(ExtendedElectionPolicyBase.java:66)
at
org.jboss.ha.singleton.ExtendedElectionPolicyBase.isElectedMaster(ExtendedElectionPolicyBase.java:72)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: