Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-13038

Undertow null pointer exception after changing to random election policy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 16.0.0.Final
    • Web (Undertow)
    • None
    • Hide

      In the HAL Management console.

      Change the configuration for specific server-group to random election policy under the singleton subsystem.

      Then click:
      Deployments -> server groups -> "server-group whose singleton is changed"

      This will through undertow null pointer exception in logs and it will not display any deployment in the console.

      Show
      In the HAL Management console. Change the configuration for specific server-group to random election policy under the singleton subsystem. Then click: Deployments -> server groups -> "server-group whose singleton is changed" This will through undertow null pointer exception in logs and it will not display any deployment in the console.

      After changing the singleton subsystem to random election policy getting undertow null pointer exception in logs after clicking deployments->server groups-> "server group name" of HAL management console and it shows zero deployments.

      We are having a clustered environment with 3 nodes.

      Logs:
      ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool – 30) WFLYCTL0013: Operation ("read-attribute") failed - address: ([
      ("deployment" => "masterdata-ei-cvpartner-1.17-SNAPSHOT.war"),
      ("subsystem" => "undertow")
      ]): java.lang.NullPointerException

      Singleton Setting in domain.xml :
      <subsystem xmlns="urn:jboss:domain:singleton:1.0">
      <singleton-policies default="default">
      <singleton-policy name="default" cache-container="server">
      <random-election-policy/>
      </singleton-policy>
      </singleton-policies>
      </subsystem>

              mpetrov@redhat.com Michal Petrov
              gagannoor.singh Gagannoor Singh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: