Buggy code:
class ServerControllerImpl extends BasicModelController implements ServerController { private static final Logger log = Logger . getLogger ( "org.jboss.as.server" ) ; private final ExecutorService executorService ; private final ServiceTarget serviceTarget ; private final ServiceRegistry serviceRegistry ; private final ServerEnvironment serverEnvironment ; private final AtomicInteger stamp = new AtomicInteger ( 0 ) ; private final AtomicStampedReference < State > state = new AtomicStampedReference < State > ( null , 0 ) ; private final ExtensibleConfigurationPersister extensibleConfigurationPersister ; private final DeploymentRepository deploymentRepository ; private final EnumMap < Phase , SortedSet < ServerControllerImpl . RegisteredProcessor > > deployers = new EnumMap < Phase , SortedSet < ServerControllerImpl . RegisteredProcessor > > ( Phase . class ) ; ServerControllerImpl ( final ServiceContainer container , final ServiceTarget serviceTarget , final ServerEnvironment serverEnvironment , final ExtensibleConfigurationPersister configurationPersister , final DeploymentRepository deploymentRepository , final ExecutorService executorService ) { } void init ( ) { state . set ( STARTING , stamp . incrementAndGet ( ) ) ; registerInternalOperations ( ) ; <START_BUG> ServerControllerModelUtil . initOperations ( getRegistry ( ) , deploymentRepository , extensibleConfigurationPersister ) ; <END_BUG> deployers . clear ( ) ; for ( Phase phase : Phase . values ( ) ) { deployers . put ( phase , new ConcurrentSkipListSet < ServerControllerImpl . RegisteredProcessor > ( ) ) ; } } EnumMap < Phase , SortedSet < ServerControllerImpl . RegisteredProcessor > > finishBoot ( ) { } @ Override public ServerEnvironment getServerEnvironment ( ) { } @ Override public ServiceRegistry getServiceRegistry ( ) { } @ Override public State getState ( ) { } @ Override protected OperationContext getOperationContext ( final ModelNode subModel , final OperationHandler operationHandler , final Operation operation , final ModelProvider modelProvider ) { } @ Override protected OperationResult doExecute ( OperationContext context , Operation operation , OperationHandler operationHandler , ResultHandler resultHandler , PathAddress address , ModelProvider modelProvider , ConfigurationPersisterProvider configurationPersisterFactory ) throws OperationFailedException { } @ Override protected void persistConfiguration ( final ModelNode model , final ConfigurationPersisterProvider configurationPersisterFactory ) { } @ Override protected MultiStepOperationController getMultiStepOperationController ( Operation operation , ResultHandler handler , ModelProvider modelSource , ConfigurationPersisterProvider configurationPersisterProvider ) throws OperationFailedException { } private boolean isRollbackOnRuntimeFailure ( OperationContext context , ModelNode operation ) { } private class ServerOperationContextImpl extends OperationContextImpl implements RuntimeOperationContext , ServerOperationContext { private int ourStamp = - 1 ; private RuntimeTask runtimeTask ; public ServerOperationContextImpl ( ModelController controller , ModelNodeRegistration registry , ModelNode subModel , ModelProvider modelProvider , OperationAttachments executionAttachments ) { } @ Override public ServerController getController ( ) { } @ Override public synchronized void restartRequired ( ) { } @ Override public synchronized void revertRestartRequired ( ) { } @ Override public RuntimeOperationContext getRuntimeContext ( ) { } public RuntimeTask getRuntimeTask ( ) { } @ Override public void setRuntimeTask ( RuntimeTask runtimeTask ) { } } private class BootContextImpl extends ServerControllerImpl . ServerOperationContextImpl implements BootOperationContext { private final EnumMap < Phase , SortedSet < ServerControllerImpl . RegisteredProcessor > > deployers ; private BootContextImpl ( final ModelNode subModel , final ModelNodeRegistration registry , final EnumMap < Phase , SortedSet < ServerControllerImpl . RegisteredProcessor > > deployers , ModelProvider modelProvider , OperationAttachments executionAttachments ) { } @ Override public void addDeploymentProcessor ( final Phase phase , final int priority , final DeploymentUnitProcessor processor ) { } } static final class RegisteredProcessor implements Comparable < ServerControllerImpl . RegisteredProcessor > { private final int priority ; private final DeploymentUnitProcessor processor ; RegisteredProcessor ( final int priority , final DeploymentUnitProcessor processor ) { } @ Override public int compareTo ( final ServerControllerImpl . RegisteredProcessor o ) { } int getPriority ( ) { } DeploymentUnitProcessor getProcessor ( ) { } } class RollbackAwareResultHandler implements ResultHandler { private final ResultHandler delegate ; private ModelNode rollbackOperation ; public RollbackAwareResultHandler ( ResultHandler resultHandler ) { } @ Override public void handleResultFragment ( String [ ] location , ModelNode result ) { } @ Override public void handleResultComplete ( ) { } @ Override public void handleFailed ( final ModelNode failureDescription ) { } @ Override public void handleCancellation ( ) { } private void setRollbackOperation ( ModelNode compensatingOperation ) { } } private class ServerMultiStepOperationController extends MultiStepOperationController { private ServerMultiStepOperationController ( final Operation operation , final ResultHandler resultHandler , final ModelProvider modelSource , final ConfigurationPersisterProvider injectedConfigPersisterProvider ) throws OperationFailedException { } @ Override public OperationContext getOperationContext ( ModelProvider modelSource , PathAddress address , OperationHandler operationHandler , Operation operation ) { } @ Override protected void handleFailures ( ) { } @ Override protected void recordModelComplete ( ) { } private void rollbackComplete ( final ModelNode rollbackResult ) { } private class StepRuntimeOperationContext implements RuntimeOperationContext , ServerOperationContext { private final Integer id ; private final ServerOperationContext delegate ; private final OperationAttachments executionAttachments ; private StepRuntimeOperationContext ( final Integer id , final ServerOperationContext delegate , OperationAttachments executionAttachments ) { } @ Override public ModelNode getSubModel ( ) throws IllegalArgumentException { } @ Override public ModelNode getSubModel ( PathAddress address ) throws IllegalArgumentException { } @ Override public ModelNodeRegistration getRegistry ( ) { } @ Override public ServerController getController ( ) { } @ Override public void restartRequired ( ) { } @ Override public void revertRestartRequired ( ) { } @ Override public RuntimeOperationContext getRuntimeContext ( ) { } @ Override public void setRuntimeTask ( RuntimeTask runtimeTask ) { } @ Override public List < InputStream > getInputStreams ( ) { } } private class RollbackResultHandler implements ResultHandler { private final ModelNode rollbackResult = new ModelNode ( ) ; @ Override public void handleResultFragment ( String [ ] location , ModelNode result ) { } @ Override public void handleResultComplete ( ) { } @ Override public void handleFailed ( ModelNode failureDescription ) { } @ Override public void handleCancellation ( ) { } } } }

Fix:
ServerControllerModelUtil . initOperations ( getRegistry ( ) , deploymentRepository , extensibleConfigurationPersister , serverEnvironment ) ;