Buggy code:
public class DomainControllerImpl extends AbstractModelController implements DomainControllerSlave { private static final Logger log = Logger . getLogger ( "org.jboss.as.domain.controller" ) ; private static final List < Property > EMPTY_ADDRESS = Collections . emptyList ( ) ; private static final Set < String > READ_ONLY_OPERATIONS ; private final Map < String , TransactionalModelController > hosts = new ConcurrentHashMap < String , TransactionalModelController > ( ) ; private final String localHostName ; private final DomainModel localDomainModel ; private final ScheduledExecutorService scheduledExecutorService ; private final FileRepository fileRepository ; private final MasterDomainControllerClient masterDomainControllerClient ; public DomainControllerImpl ( final ScheduledExecutorService scheduledExecutorService , final DomainModel domainModel , final String hostName , final FileRepository fileRepository ) { } public DomainControllerImpl ( final ScheduledExecutorService scheduledExecutorService , final DomainModel domainModel , final String hostName , final FileRepository fileRepository , final MasterDomainControllerClient masterDomainControllerClient ) { } @ Override public ModelNode addClient ( final HostControllerClient client ) { } @ Override public void removeClient ( final String id ) { } @ Override public ModelNode getProfileOperations ( String profileName ) { ModelNode operation = new ModelNode ( ) ; operation . get ( OP ) . set ( DESCRIBE ) ; operation . get ( OP_ADDR ) . set ( PathAddress . pathAddress ( PathElement . pathElement ( PROFILE , profileName ) ) . toModelNode ( ) ) ; try { ModelNode rsp = localDomainModel . execute ( operation ) ; <START_BUG> if ( ( ! ( rsp . hasDefined ( OUTCOME ) ) ) || ( ! ( SUCCESS . equals ( rsp . get ( OUTCOME ) ) ) ) ) { <END_BUG> ModelNode msgNode = rsp . get ( FAILURE_DESCRIPTION ) ; String msg = ( msgNode . isDefined ( ) ) ? msgNode . toString ( ) : "Failed<seq2seq4repair_space>to<seq2seq4repair_space>retrieve<seq2seq4repair_space>profile<seq2seq4repair_space>operations<seq2seq4repair_space>from<seq2seq4repair_space>domain<seq2seq4repair_space>controller" ; throw new RuntimeException ( msg ) ; } return rsp . require ( RESULT ) ; } catch ( CancellationException e ) { throw new RuntimeException ( e ) ; } } @ Override public OperationResult execute ( ModelNode operation , ResultHandler handler ) { } private DomainControllerImpl . OperationRouting determineRouting ( ModelNode operation ) { } private boolean isReadOnly ( final ModelNode operation , final List < Property > address ) { } @ Override public ModelNode getDomainModel ( ) { } @ Override public FileRepository getFileRepository ( ) { } private Map < String , ModelNode > pushToHosts ( final ModelNode operation , final DomainControllerImpl . OperationRouting routing , final ControllerTransaction transaction ) { } private void processHostFuture ( String host , Future < OperationResult > future , final Map < String , ModelNode > hostResults ) { } private void pushToHost ( final ModelNode operation , final ControllerTransaction transaction , final String host , final Map < String , ModelNode > hostResults , final Map < String , Future < OperationResult > > futures ) { } private ModelNode getDomainFailureResult ( Throwable e ) { } private class OperationRouting { private final boolean routeToMaster ; private final boolean localOnly ; private final Set < String > hosts ; private OperationRouting ( boolean routeToMaster ) { } private OperationRouting ( final Collection < String > hosts ) { } private boolean isRouteToMaster ( ) { } private boolean isLocalOnly ( ) { } private Set < String > getHosts ( ) { } } @ Override public void setInitialDomainModel ( ModelNode initialModel ) { } }

Fix:
if ( ( ! ( rsp . hasDefined ( OUTCOME ) ) ) || ( ! ( SUCCESS . equals ( rsp . get ( OUTCOME ) . asString ( ) ) ) ) ) {