Buggy code:
public abstract class AbstractControllerService implements Service < ModelController > { public static final String BOOT_STACK_SIZE_PROPERTY = "jboss.boot.thread.stack.size" ; public static final int DEFAULT_BOOT_STACK_SIZE = ( 2 * 1024 ) * 1024 ; private static int getBootStackSize ( ) { } protected final ProcessType processType ; private final RunningModeControl runningModeControl ; private final DescriptionProvider rootDescriptionProvider ; private final ResourceDefinition rootResourceDefinition ; private final ControlledProcessState processState ; private final OperationStepHandler prepareStep ; private final InjectedValue < ExecutorService > injectedExecutorService = new InjectedValue < ExecutorService > ( ) ; private final ExpressionResolver expressionResolver ; private volatile ModelControllerImpl controller ; private ConfigurationPersister configurationPersister ; @ Deprecated protected AbstractControllerService ( final ProcessType processType , final RunningModeControl runningModeControl , final ConfigurationPersister configurationPersister , final ControlledProcessState processState , final DescriptionProvider rootDescriptionProvider , final OperationStepHandler prepareStep , final ExpressionResolver expressionResolver ) { } protected AbstractControllerService ( final ProcessType processType , final RunningModeControl runningModeControl , final ConfigurationPersister configurationPersister , final ControlledProcessState processState , final ResourceDefinition rootResourceDefinition , final OperationStepHandler prepareStep , final ExpressionResolver expressionResolver ) { } public void start ( final StartContext context ) throws StartException { if ( ( configurationPersister ) == null ) { throw ControllerMessages . MESSAGES . persisterNotInjected ( ) ; } final ServiceController < ? > serviceController = context . getController ( ) ; final ServiceContainer container = serviceController . getServiceContainer ( ) ; final ServiceTarget target = context . getChildTarget ( ) ; final ExecutorService executorService = injectedExecutorService . getOptionalValue ( ) ; ManagementResourceRegistration rootResourceRegistration = ( ( rootDescriptionProvider ) != null ) ? Factory . create ( rootDescriptionProvider ) : Factory . create ( rootResourceDefinition ) ; <START_BUG> final ModelControllerImpl controller = new ModelControllerImpl ( container , target , rootResourceRegistration , new ContainerStateMonitor ( container , serviceController ) , configurationPersister , processType , runningModeControl , prepareStep , processState , executorService , expressionResolver ) ; <END_BUG> initModel ( controller . getRootResource ( ) , controller . getRootRegistration ( ) ) ; this . controller = controller ; final long bootStackSize = AbstractControllerService . getBootStackSize ( ) ; final Thread bootThread = new Thread ( null , new Runnable ( ) { public void run ( ) { try { try { boot ( new BootContext ( ) { public ServiceTarget getServiceTarget ( ) { return target ; } } ) ; } finally { processState . setRunning ( ) ; } } catch ( Throwable t ) { container . shutdown ( ) ; if ( t instanceof StackOverflowError ) { ControllerLogger . ROOT_LOGGER . errorBootingContainer ( t , bootStackSize , AbstractControllerService . BOOT_STACK_SIZE_PROPERTY ) ; } else { ControllerLogger . ROOT_LOGGER . errorBootingContainer ( t ) ; } } finally { bootThreadDone ( ) ; } } } , "Controller<seq2seq4repair_space>Boot<seq2seq4repair_space>Thread" , bootStackSize ) ; bootThread . start ( ) ; } protected void boot ( final BootContext context ) throws ConfigurationPersistenceException { } protected boolean boot ( List < ModelNode > bootOperations , boolean rollbackOnRuntimeFailure ) throws ConfigurationPersistenceException { } protected ModelNode internalExecute ( final ModelNode operation , final OperationMessageHandler handler , final ModelController . OperationTransactionControl control , final OperationAttachments attachments , final OperationStepHandler prepareStep ) { } @ Deprecated protected ModelNode executeReadOnlyOperation ( final ModelNode operation , final OperationMessageHandler handler , final ModelController . OperationTransactionControl control , final OperationAttachments attachments , final OperationStepHandler prepareStep , int lockPermit ) { } protected void finishBoot ( ) throws ConfigurationPersistenceException { } protected void bootThreadDone ( ) { } public void stop ( final StopContext context ) { } public ModelController getValue ( ) throws IllegalArgumentException , IllegalStateException { } public InjectedValue < ExecutorService > getExecutorServiceInjector ( ) { } protected void setConfigurationPersister ( final ConfigurationPersister persister ) { } protected abstract void initModel ( Resource rootResource , ManagementResourceRegistration rootRegistration ) { } }

Fix:
final ModelControllerImpl controller = new ModelControllerImpl ( container , target , rootResourceRegistration , new ContainerStateMonitor ( container ) , configurationPersister , processType , runningModeControl , prepareStep , processState , executorService , expressionResolver ) ;