Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-948

Multiprocess wildcard read-resource-description does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.0.0.CR7
    • 2.0.0.Beta5
    • Management
    • None

    Description

      [domain@localhost:9990 /] /host=master/server=*/interface=public:read-resource-description
      {
          "outcome" => "failed",
          "result" => [
              {
                  "address" => [
                      ("host" => "master"),
                      ("server" => "*"),
                      ("interface" => "public")
                  ],
                  "outcome" => "failed",
                  "failure-description" => "WFLYCTL0158: Operation handler failed: java.lang.NullPointerException",
                  "rolled-back" => true
              },
              {
                  "address" => [
                      ("host" => "master"),
                      ("server" => "server-one"),
                      ("interface" => "public")
                  ],
                  "outcome" => "failed",
                  "result" => undefined,
                  "rolled-back" => true
              },
              {
                  "address" => [
                      ("host" => "master"),
                      ("server" => "server-two"),
                      ("interface" => "public")
                  ],
                  "outcome" => "failed",
                  "result" => undefined,
                  "rolled-back" => true
              }
          ],
          "failure-description" => "WFLYCTL0285: Operation read-resource-description invoked against multiple target addresses failed at address [
          (\"host\" => \"master\"),
          (\"server\" => \"*\"),
          (\"interface\" => \"public\")
      ] with failure description WFLYCTL0158: Operation handler failed: java.lang.NullPointerException",
          "rolled-back" => true
      }
      

      In the HC log:

      [Host Controller] 20:37:28,277 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 3) WFLYCTL0013: Operation ("read-resource-description") failed - address: ([
      [Host Controller]     ("host" => "master"),
      [Host Controller]     ("server" => "*"),
      [Host Controller]     ("interface" => "public")
      [Host Controller] ]): java.lang.NullPointerException
      [Host Controller] 	at org.jboss.as.controller.operations.global.ReadResourceDescriptionHandler.getResourceRegistrationCheckForAlias(ReadResourceDescriptionHandler.java:391)
      [Host Controller] 	at org.jboss.as.controller.operations.global.ReadResourceDescriptionHandler.doExecuteInternal(ReadResourceDescriptionHandler.java:189)
      [Host Controller] 	at org.jboss.as.controller.operations.global.ReadResourceDescriptionHandler.doExecute(ReadResourceDescriptionHandler.java:161)
      [Host Controller] 	at org.jboss.as.controller.operations.global.ReadResourceDescriptionHandler.access$300(ReadResourceDescriptionHandler.java:97)
      [Host Controller] 	at org.jboss.as.controller.operations.global.ReadResourceDescriptionHandler$2.execute(ReadResourceDescriptionHandler.java:411)
      [Host Controller] 	at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:854)
      

      The handling for this doesn't have the stuff I did for WFCORE-282.

      Attachments

        Issue Links

          Activity

            People

              kkhan1@redhat.com Kabir Khan
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: