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

Undertow null pointer exception after changing to random election policy

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 16.0.0.Final
    • Fix Version/s: None
    • Component/s: Web (Undertow)
    • Labels:
      None
    • Steps to Reproduce:
      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.

      Description

      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>

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                flavia.rainone Flavia Rainone
                Reporter:
                gagannoor.singh Gagannoor Singh
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: