[jboss-jira] [JBoss JIRA] (AS7-5730) NullPointerException when a SingletonElectionPolicy returns <null> to suppress the election

Wolf-Dieter Fink (JIRA) jira-events at lists.jboss.org
Thu Oct 11 07:54:03 EDT 2012


Wolf-Dieter Fink created AS7-5730:
-------------------------------------

             Summary: NullPointerException when a SingletonElectionPolicy returns <null> to suppress the election
                 Key: AS7-5730
                 URL: https://issues.jboss.org/browse/AS7-5730
             Project: Application Server 7
          Issue Type: Bug
          Components: Clustering
    Affects Versions: 7.2.0.CR1, 7.1.4.Final (EAP)
            Reporter: Wolf-Dieter Fink
            Assignee: Wolf-Dieter Fink


If a custom implementation of SingletonElectionPolicy decide to suppress the election and return <null> a NPE happens.

ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 56) MSC00001: Failed to start service jboss.quickstart.ha.singleton.timer: org.jboss.msc.service.StartException in service ...
Caused by: java.lang.NullPointerException at org.jboss.as.clustering.singleton.SingletonService.elected(SingletonService.java:176)


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


More information about the jboss-jira mailing list