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

domain mode: remove a path entry from a server instance fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Alpha16
    • 1.0.0.Alpha15
    • Management
    • None
    • Hide

      in domain mode (DC started, no servers started)

      /host=master/server-config=i1/path=foo.bar:add(path="/tmp")
      => success

      /host=master/server-config=i1/path=foo.bar:remove

      [[Host Controller] 13:19:02,569 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("remove") failed - address: ([
      [Host Controller] ("host" => "master"),
      [Host Controller] ("server-config" => "i1"),
      [Host Controller] ("path" => "foo.bar")
      [Host Controller] ]): java.lang.NullPointerException
      [Host Controller] at org.jboss.as.controller.services.path.PathManagerService.removePathEntry(PathManagerService.java:181)
      [Host Controller] at org.jboss.as.controller.services.path.PathRemoveHandler$1.execute(PathRemoveHandler.java:90)
      [Host Controller] at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:743)
      [Host Controller] at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:578)
      [Host Controller] at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:336)
      [Host Controller] at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:312)
      [Host Controller] at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1181)
      [Host Controller] at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:357)
      [Host Controller] at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:216)
      [Host Controller] at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:220)
      [Host Controller] at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$300(ModelControllerClientOperationHandler.java:147)
      [Host Controller] at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:169)
      [Host Controller] at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:165)
      [Host Controller] at java.security.AccessController.doPrivileged(Native Method)
      [Host Controller] at javax.security.auth.Subject.doAs(Subject.java:415)
      [Host Controller] at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:94)
      [Host Controller] at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:165)
      [Host Controller] at org.jboss.as.protocol.mgmt.AbstractMessageHandler$2$1.doExecute(AbstractMessageHandler.java:298)
      [Host Controller] at org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:518)
      [Host Controller] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      [Host Controller] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      [Host Controller] at java.lang.Thread.run(Thread.java:745)
      [Host Controller] at org.jboss.threads.JBossThread.run(JBossThread.java:320)

      Show
      in domain mode (DC started, no servers started) /host=master/server-config=i1/path=foo.bar:add(path="/tmp") => success /host=master/server-config=i1/path=foo.bar:remove [ [Host Controller] 13:19:02,569 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("remove") failed - address: ([ [Host Controller] ("host" => "master"), [Host Controller] ("server-config" => "i1"), [Host Controller] ("path" => "foo.bar") [Host Controller] ]): java.lang.NullPointerException [Host Controller] at org.jboss.as.controller.services.path.PathManagerService.removePathEntry(PathManagerService.java:181) [Host Controller] at org.jboss.as.controller.services.path.PathRemoveHandler$1.execute(PathRemoveHandler.java:90) [Host Controller] at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:743) [Host Controller] at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:578) [Host Controller] at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:336) [Host Controller] at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:312) [Host Controller] at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1181) [Host Controller] at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:357) [Host Controller] at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:216) [Host Controller] at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:220) [Host Controller] at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$300(ModelControllerClientOperationHandler.java:147) [Host Controller] at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:169) [Host Controller] at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:165) [Host Controller] at java.security.AccessController.doPrivileged(Native Method) [Host Controller] at javax.security.auth.Subject.doAs(Subject.java:415) [Host Controller] at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:94) [Host Controller] at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:165) [Host Controller] at org.jboss.as.protocol.mgmt.AbstractMessageHandler$2$1.doExecute(AbstractMessageHandler.java:298) [Host Controller] at org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:518) [Host Controller] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [Host Controller] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [Host Controller] at java.lang.Thread.run(Thread.java:745) [Host Controller] at org.jboss.threads.JBossThread.run(JBossThread.java:320)
    • Workaround Exists
    • Hide

      manually edit the xml

      Show
      manually edit the xml

      Adding a "path" to a "server-config" in domain mode (works fine) and then remove it again results in a NullPointerException

              bstansbe@redhat.com Brian Stansberry
              tfonteyn Tom Fonteyne (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: