java.lang.IllegalStateException: WFLYCTL0157: Operation already complete

GitHub | wildfly-ci | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.IllegalStateException

    WFLYCTL0157: Operation already complete

    at org.jboss.as.controller.AbstractOperationContext.addStep()
  2. JBoss Application Server: Controller Core
    AbstractOperationContext.addStep
    1. org.jboss.as.controller.AbstractOperationContext.addStep(AbstractOperationContext.java:296)
    2. org.jboss.as.controller.AbstractOperationContext.addStep(AbstractOperationContext.java:265)
    3. org.jboss.as.controller.AbstractOperationContext.addStep(AbstractOperationContext.java:239)
    3 frames
  3. JBoss Application Server: Security Subsystem
    SecurityDomainAdd.performRuntime
    1. org.jboss.as.security.SecurityDomainAdd.performRuntime(SecurityDomainAdd.java:139)
    1 frame
  4. JBoss Application Server: Controller Core
    ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run
    1. org.jboss.as.controller.ServiceRemoveStepHandler.recoverServices(ServiceRemoveStepHandler.java:164)
    2. org.jboss.as.controller.AbstractRemoveStepHandler$1$1.handleRollback(AbstractRemoveStepHandler.java:86)
    3. org.jboss.as.controller.AbstractOperationContext$RollbackDelegatingResultHandler.handleResult(AbstractOperationContext.java:1412)
    4. org.jboss.as.controller.AbstractOperationContext$Step.invokeResultHandler(AbstractOperationContext.java:1384)
    5. org.jboss.as.controller.AbstractOperationContext$Step.handleResult(AbstractOperationContext.java:1366)
    6. org.jboss.as.controller.AbstractOperationContext$Step.finalizeInternal(AbstractOperationContext.java:1328)
    7. org.jboss.as.controller.AbstractOperationContext$Step.finalizeStep(AbstractOperationContext.java:1311)
    8. org.jboss.as.controller.AbstractOperationContext$Step.access$300(AbstractOperationContext.java:1185)
    9. org.jboss.as.controller.AbstractOperationContext.executeResultHandlerPhase(AbstractOperationContext.java:767)
    10. org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:667)
    11. org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:370)
    12. org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1336)
    13. org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:391)
    14. org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:217)
    15. org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:207)
    16. org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$300(ModelControllerClientOperationHandler.java:129)
    17. org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:151)
    18. org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:147)
    18 frames
  5. Java RT
    Subject.doAs
    1. java.security.AccessController.doPrivileged(Native Method)
    2. javax.security.auth.Subject.doAs(Subject.java:422)
    2 frames
  6. JBoss Application Server: Controller Core
    ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute
    1. org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:92)
    2. org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:147)
    2 frames
  7. JBoss Application Server: Protocol Utilities
    AbstractMessageHandler$AsyncTaskRunner.run
    1. org.jboss.as.protocol.mgmt.AbstractMessageHandler$2$1.doExecute(AbstractMessageHandler.java:299)
    2. org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:519)
    2 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames
  9. JBoss Threads
    JBossThread.run
    1. org.jboss.threads.JBossThread.run(JBossThread.java:320)
    1 frame