Buggy code:
final class OperationContextImpl implements OperationContext { private static final Logger log = Logger . getLogger ( "org.jboss.as.controller" ) ; private final ModelControllerImpl modelController ; private final Type contextType ; private final EnumSet < OperationContextImpl . ContextFlag > contextFlags ; private final OperationMessageHandler messageHandler ; private final Thread initiatingThread ; private final EnumMap < Stage , Deque < OperationContextImpl . Step > > steps ; private final OperationTransactionControl transactionControl ; private final ServiceTarget serviceTarget ; private final Map < ServiceName , ServiceController < ? > > realRemovingControllers = new HashMap < ServiceName , ServiceController < ? > > ( ) ; private final boolean booting ; private final OperationAttachments attachments ; private final ControlledProcessState processState ; private final Set < PathAddress > affectsModel ; private boolean affectsResourceRegistration ; private boolean respectInterruption = true ; private PathAddress modelAddress ; private Stage currentStage = Stage . MODEL ; private ModelNode response ; private ModelNode operation ; private Resource model ; private ResultAction resultAction ; private boolean affectsRuntime ; private boolean cancelled ; private int depth ; private int lockDepth ; private int containerMonitorDepth ; private OperationContextImpl . StampHolder restartStampHolder ; enum ContextFlag { ROLLBACK_ON_FAIL ; } OperationContextImpl ( final ModelControllerImpl modelController , final Type contextType , final EnumSet < OperationContextImpl . ContextFlag > contextFlags , final OperationMessageHandler messageHandler , final OperationAttachments attachments , final Resource model , final ModelController . OperationTransactionControl transactionControl , final ControlledProcessState processState , final boolean booting ) { } public InputStream getAttachmentStream ( final int index ) { } public int getAttachmentStreamCount ( ) { } public void addStep ( final OperationStepHandler step , final Stage stage ) throws IllegalArgumentException { } public void addStep ( final ModelNode operation , final OperationStepHandler step , final Stage stage ) throws IllegalArgumentException { } public void addStep ( final ModelNode response , final ModelNode operation , final OperationStepHandler step , final Stage stage ) throws IllegalArgumentException { } public ModelNode getFailureDescription ( ) { } public boolean hasFailureDescription ( ) { } public ResultAction completeStep ( ) { } private ResultAction doCompleteStep ( ) { } private ResultAction executeStep ( final OperationContextImpl . Step step ) { PathAddress oldModelAddress = modelAddress ; ModelNode oldOperation = operation ; ModelNode oldResponse = this . response ; OperationContextImpl . StampHolder oldRestartStamp = restartStampHolder ; Stage stepStage = null ; ModelNode response = null ; try { ( depth ) ++ ; response = this . response = step . response ; this . restartStampHolder = step . restartStamp ; ModelNode newOperation = operation = step . operation ; modelAddress = PathAddress . pathAddress ( newOperation . get ( OP_ADDR ) ) ; try { step . handler . execute ( this , newOperation ) ; } catch ( OperationFailedException ofe ) { if ( ( currentStage ) != ( Stage . DONE ) ) { response . get ( FAILURE_DESCRIPTION ) . set ( ofe . getFailureDescription ( ) ) ; <START_BUG> OperationContextImpl . log . warnf ( "Operation<seq2seq4repair_space>(%s)<seq2seq4repair_space>failed<seq2seq4repair_space>-<seq2seq4repair_space>address:<seq2seq4repair_space>(%s)" , operation . get ( OP ) , operation . get ( OP_ADDR ) ) ; <END_BUG> completeStep ( ) ; } else { throw ofe ; } } assert ( resultAction ) != null ; } catch ( Throwable t ) { OperationContextImpl . log . errorf ( t , "Operation<seq2seq4repair_space>(%s)<seq2seq4repair_space>failed<seq2seq4repair_space>-<seq2seq4repair_space>address:<seq2seq4repair_space>(%s)" , operation . get ( OP ) , operation . get ( OP_ADDR ) ) ; if ( ( currentStage ) != ( Stage . DONE ) ) { if ( ! ( response . hasDefined ( FAILURE_DESCRIPTION ) ) ) { response . get ( FAILURE_DESCRIPTION ) . set ( ( "Operation<seq2seq4repair_space>handler<seq2seq4repair_space>failed:<seq2seq4repair_space>" + t ) ) ; } response . get ( OUTCOME ) . set ( FAILED ) ; resultAction = getFailedResultAction ( t ) ; if ( ( resultAction ) == ( ResultAction . ROLLBACK ) ) { response . get ( ROLLED_BACK ) . set ( true ) ; } return resultAction ; } else { if ( ( resultAction ) != ( ResultAction . KEEP ) ) { response . get ( ROLLED_BACK ) . set ( true ) ; } response . get ( OUTCOME ) . set ( ( response . hasDefined ( FAILURE_DESCRIPTION ) ? FAILED : SUCCESS ) ) ; report ( WARN , ( ( "Step<seq2seq4repair_space>handler<seq2seq4repair_space>" + ( step . handler ) ) + "<seq2seq4repair_space>failed<seq2seq4repair_space>after<seq2seq4repair_space>completion" ) ) ; return resultAction ; } } finally { modelAddress = oldModelAddress ; operation = oldOperation ; this . response = oldResponse ; this . restartStampHolder = oldRestartStamp ; if ( ( lockDepth ) == ( depth ) ) { modelController . releaseLock ( ) ; lockDepth = 0 ; } if ( ( containerMonitorDepth ) == ( depth ) ) { awaitContainerMonitor ( ) ; modelController . releaseContainerMonitor ( ) ; containerMonitorDepth = 0 ; } stepStage = currentStage ; if ( ( -- ( depth ) ) == 0 ) { currentStage = null ; } } if ( stepStage != ( Stage . DONE ) ) { currentStage = ( ( currentStage ) != null ) ? Stage . DONE : null ; if ( ! ( response . hasDefined ( FAILURE_DESCRIPTION ) ) ) { response . get ( FAILURE_DESCRIPTION ) . set ( "Operation<seq2seq4repair_space>handler<seq2seq4repair_space>failed<seq2seq4repair_space>to<seq2seq4repair_space>complete" ) ; } response . get ( OUTCOME ) . set ( FAILED ) ; response . get ( ROLLED_BACK ) . set ( true ) ; resultAction = getFailedResultAction ( null ) ; return resultAction ; } else { response . get ( OUTCOME ) . set ( ( response . hasDefined ( FAILURE_DESCRIPTION ) ? FAILED : SUCCESS ) ) ; } if ( ( resultAction ) == ( ResultAction . ROLLBACK ) ) { response . get ( OUTCOME ) . set ( FAILED ) ; response . get ( ROLLED_BACK ) . set ( true ) ; } return resultAction ; } private ResultAction getFailedResultAction ( Throwable cause ) { } public Type getType ( ) { }

Fix:
OperationContextImpl . log . errorf ( "Operation<seq2seq4repair_space>(%s)<seq2seq4repair_space>failed<seq2seq4repair_space>-<seq2seq4repair_space>address:<seq2seq4repair_space>(%s)<seq2seq4repair_space>-<seq2seq4repair_space>failure<seq2seq4repair_space>description:<seq2seq4repair_space>%s" , operation . get ( OP ) , operation . get ( OP_ADDR ) , response . get ( FAILURE_DESCRIPTION ) ) ;