[jboss-jira] [JBoss JIRA] Created: (JBAS-9389) "/ by zero" in ExtendedElectionPolicySimple

Dennis Reed (JIRA) jira-events at lists.jboss.org
Mon May 16 18:39:00 EDT 2011


"/ 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


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: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list