[jboss-jira] [JBoss JIRA] (WFCORE-948) Multiprocess wildcard read-resource-description does not work

Brian Stansberry (JIRA) issues at jboss.org
Wed Sep 2 21:44:05 EDT 2015


Brian Stansberry created WFCORE-948:
---------------------------------------

             Summary: Multiprocess wildcard read-resource-description does not work
                 Key: WFCORE-948
                 URL: https://issues.jboss.org/browse/WFCORE-948
             Project: WildFly Core
          Issue Type: Bug
          Components: Domain Management
    Affects Versions: 2.0.0.Beta5
            Reporter: Brian Stansberry


{code}
[domain at 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
}
{code}

In the HC log:

{code}
[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)
{code}

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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list