Buggy code:
public abstract class RestartParentResourceHandlerBase implements OperationStepHandler { private final String parentKeyName ; protected RestartParentResourceHandlerBase ( String parentKeyName ) { } @ Override public void execute ( OperationContext context , ModelNode operation ) throws OperationFailedException { updateModel ( context , operation ) ; if ( ( ! ( context . isBooting ( ) ) ) && ( requiresRuntime ( context ) ) ) { context . addStep ( new OperationStepHandler ( ) { @ Override public void execute ( OperationContext context , ModelNode operation ) throws OperationFailedException { PathAddress address = getParentAddress ( PathAddress . pathAddress ( operation . require ( OP_ADDR ) ) ) ; ServiceName serviceName = getParentServiceName ( address ) ; final ServiceController < ? > service = ( serviceName != null ) ? context . getServiceRegistry ( false ) . getService ( serviceName ) : null ; ModelNode parentModel = null ; boolean servicesRestarted = false ; final boolean reloadRequired = ( service != null ) && ( ! ( isResourceServiceRestartAllowed ( context , service ) ) ) ; if ( reloadRequired ) { context . reloadRequired ( ) ; } else if ( service != null ) { parentModel = getModel ( context , address ) ; if ( ( parentModel != null ) && ( context . markResourceRestarted ( address , this ) ) ) { removeServices ( context , serviceName , parentModel ) ; final ServiceVerificationHandler verificationHandler = new ServiceVerificationHandler ( ) ; recreateParentService ( context , address , parentModel , verificationHandler ) ; context . addStep ( verificationHandler , VERIFY ) ; servicesRestarted = true ; } } final ModelNode invalidatedParentModel = ( servicesRestarted ) ? parentModel : null ; context . completeStep ( new OperationContext . RollbackHandler ( ) { @ Override public void handleRollback ( OperationContext context , ModelNode operation ) { if ( reloadRequired ) { context . revertReloadRequired ( ) ; } else if ( invalidatedParentModel != null ) { recoverServices ( context , operation , invalidatedParentModel ) ; } } } ) ; } } , RUNTIME ) ; } <START_BUG> context . completeStep ( NOOP_ROLLBACK_HANDLER ) ; <END_BUG> } protected boolean requiresRuntime ( OperationContext context ) { } protected boolean isResourceServiceRestartAllowed ( final OperationContext context , final ServiceController < ? > service ) { } protected void removeServices ( final OperationContext context , final ServiceName parentService , final ModelNode parentModel ) throws OperationFailedException { } protected abstract void updateModel ( final OperationContext context , final ModelNode operation ) throws OperationFailedException { } protected abstract void recreateParentService ( OperationContext context , PathAddress parentAddress , ModelNode parentModel , ServiceVerificationHandler verificationHandler ) throws OperationFailedException { } protected abstract ServiceName getParentServiceName ( PathAddress parentAddress ) { } protected PathAddress getParentAddress ( PathAddress address ) { } private void recoverServices ( final OperationContext context , final ModelNode operation , final ModelNode invalidatedParentModel ) { } private ModelNode getModel ( OperationContext ctx , PathAddress address ) { } private ModelNode getOriginalModel ( OperationContext ctx , PathAddress address ) { } }

Fix:
context . stepCompleted ( ) ;