Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5730

NullPointerException when a SingletonElectionPolicy returns <null> to suppress the election

    XMLWordPrintable

Details

    Description

      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)

      Attachments

        Activity

          People

            rhn-support-wfink Wolf Fink
            rhn-support-wfink Wolf Fink
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: