Buggy code:
public final class ServerService extends AbstractControllerService { private final InjectedValue < DeploymentMountProvider > injectedDeploymentRepository = new InjectedValue < DeploymentMountProvider > ( ) ; private final InjectedValue < ContentRepository > injectedContentRepository = new InjectedValue < ContentRepository > ( ) ; private final InjectedValue < ServiceModuleLoader > injectedModuleLoader = new InjectedValue < ServiceModuleLoader > ( ) ; private final InjectedValue < ExternalModuleService > injectedExternalModuleService = new InjectedValue < ExternalModuleService > ( ) ; private final InjectedValue < PathManager > injectedPathManagerService = new InjectedValue < PathManager > ( ) ; private final Configuration configuration ; private final BootstrapListener bootstrapListener ; private final ControlledProcessState processState ; private final RunningModeControl runningModeControl ; private volatile ExtensibleConfigurationPersister extensibleConfigurationPersister ; private final AbstractVaultReader vaultReader ; private final ServerService . DelegatingResourceDefinition rootResourceDefinition ; public static final String SERVER_NAME = "server" ; private ServerService ( final Bootstrap . Configuration configuration , final ControlledProcessState processState , final OperationStepHandler prepareStep , final BootstrapListener bootstrapListener , final ServerService . DelegatingResourceDefinition rootResourceDefinition , final RunningModeControl runningModeControl , final AbstractVaultReader vaultReader , final ManagedAuditLogger auditLogger , final DelegatingConfigurableAuthorizer authorizer ) { } static ProcessType getProcessType ( ServerEnvironment serverEnvironment ) { } public static void addService ( final ServiceTarget serviceTarget , final Bootstrap . Configuration configuration , final ControlledProcessState processState , final BootstrapListener bootstrapListener , final RunningModeControl runningModeControl , final AbstractVaultReader vaultReader , final ManagedAuditLogger auditLogger , final DelegatingConfigurableAuthorizer authorizer ) { } public synchronized void start ( final StartContext context ) throws StartException { } protected void boot ( final BootContext context ) throws ConfigurationPersistenceException { } protected boolean boot ( List < ModelNode > bootOperations , boolean rollbackOnRuntimeFailure ) throws ConfigurationPersistenceException { } public void stop ( final StopContext context ) { } @ Override protected void initModel ( Resource rootResource , ManagementResourceRegistration rootRegistration ) { Resource managementResource = Factory . create ( ) ; rootResource . registerChild ( PathElement . pathElement ( CORE_SERVICE , MANAGEMENT ) , managementResource ) ; rootResource . registerChild ( PathElement . pathElement ( CORE_SERVICE , SERVICE_CONTAINER ) , Factory . create ( ) ) ; rootResource . registerChild ( PathElement . pathElement ( CORE_SERVICE , MODULE_LOADING ) , Factory . create ( ) ) ; <START_BUG> managementResource . registerChild ( PATH_ELEMENT , RESOURCE ) ; <END_BUG> rootResource . registerChild ( RESOURCE_PATH , Factory . create ( ) ) ; ( ( PathManagerService ) ( injectedPathManagerService . getValue ( ) ) ) . addPathManagerResources ( rootResource ) ; VersionModelInitializer . registerRootResource ( rootResource , ( ( configuration . getServerEnvironment ( ) ) != null ? configuration . getServerEnvironment ( ) . getProductConfig ( ) : null ) ) ; rootResource . registerChild ( ROOT_PATH , new RootPlatformMBeanResource ( ) ) ; } @ Override protected void performControllerInitialization ( ServiceTarget target , Resource rootResource , ManagementResourceRegistration rootRegistration ) { } private static class ServerExecutorService implements Service < ExecutorService > { private final ThreadFactory threadFactory ; private ExecutorService executorService ; private ServerExecutorService ( ThreadFactory threadFactory ) { } @ Override public synchronized void start ( StartContext context ) throws StartException { } @ Override public synchronized void stop ( final StopContext context ) { } @ Override public synchronized ExecutorService getValue ( ) throws IllegalArgumentException , IllegalStateException { } } private static class DelegatingResourceDefinition implements ResourceDefinition { private volatile ResourceDefinition delegate ; void setDelegate ( ResourceDefinition delegate ) { } @ Override public void registerOperations ( ManagementResourceRegistration resourceRegistration ) { } @ Override public void registerChildren ( ManagementResourceRegistration resourceRegistration ) { } @ Override public void registerAttributes ( ManagementResourceRegistration resourceRegistration ) { } @ Override public PathElement getPathElement ( ) { } @ Override public DescriptionProvider getDescriptionProvider ( ImmutableManagementResourceRegistration resourceRegistration ) { } } }

Fix:
managementResource . registerChild ( PATH_ELEMENT , AccessAuthorizationResourceDefinition . createResource ( authorizer . getWritableAuthorizerConfiguration ( ) ) ) ;