Buggy code:
systemProperties . registerOperationHandler ( SystemPropertyRemoveHandler . OPERATION_NAME , SystemPropertyRemoveHandler . INSTANCE , SystemPropertyRemoveHandler . INSTANCE , false ) ; systemProperties . registerReadWriteAttribute ( VALUE , null , SystemPropertyValueWriteAttributeHandler . INSTANCE , CONFIGURATION ) ; systemProperties . registerReadWriteAttribute ( BOOT_TIME , null , new org . jboss . as . controller . operations . global . WriteAttributeHandlers . ModelTypeValidatingHandler ( ModelType . BOOLEAN ) , CONFIGURATION ) ; final ManagementResourceRegistration interfaces = root . registerSubModel ( PathElement . pathElement ( INTERFACE ) , NAMED_INTERFACE_PROVIDER ) ; interfaces . registerOperationHandler ( ADD , NAMED_INSTANCE , NAMED_INSTANCE , false ) ; interfaces . registerOperationHandler ( REMOVE , InterfaceRemoveHandler . INSTANCE , InterfaceRemoveHandler . INSTANCE , false ) ; CONFIG_ONLY . register ( interfaces ) ; final ManagementResourceRegistration profile = root . registerSubModel ( PathElement . pathElement ( PROFILE ) , DomainDescriptionProviders . PROFILE ) ; profile . registerOperationHandler ( ADD , ProfileAddHandler . INSTANCE , ProfileAddHandler . INSTANCE , false ) ; profile . registerOperationHandler ( REMOVE , ProfileRemoveHandler . INSTANCE , ProfileRemoveHandler . INSTANCE , false ) ; profile . registerOperationHandler ( DESCRIBE , ProfileDescribeHandler . INSTANCE , ProfileDescribeHandler . INSTANCE , false , PRIVATE , readOnly ) ; root . registerSubModel ( PathResourceDefinition . createNamed ( pathManager ) ) ; final ManagementResourceRegistration socketBindingGroup = root . registerSubModel ( new org . jboss . as . controller . resource . SocketBindingGroupResourceDefinition ( SocketBindingGroupAddHandler . INSTANCE , SocketBindingGroupRemoveHandler . INSTANCE , true ) ) ; socketBindingGroup . registerSubModel ( SocketBindingResourceDefinition . INSTANCE ) ; socketBindingGroup . registerSubModel ( RemoteDestinationOutboundSocketBindingResourceDefinition . INSTANCE ) ; socketBindingGroup . registerSubModel ( LocalDestinationOutboundSocketBindingResourceDefinition . INSTANCE ) ; final ManagementResourceRegistration serverGroups = root . registerSubModel ( PathElement . pathElement ( SERVER_GROUP ) , DomainDescriptionProviders . SERVER_GROUP ) ; serverGroups . registerOperationHandler ( ADD , ServerGroupAddHandler . INSTANCE , ServerGroupAddHandler . INSTANCE , false ) ; serverGroups . registerOperationHandler ( REMOVE , ServerGroupRemoveHandler . INSTANCE , ServerGroupRemoveHandler . INSTANCE , false ) ; serverGroups . registerReadWriteAttribute ( SOCKET_BINDING_GROUP , null , WriteAttributeHandlers . WriteAttributeOperationHandler . INSTANCE , CONFIGURATION ) ; serverGroups . registerReadWriteAttribute ( SOCKET_BINDING_PORT_OFFSET , null , new IntRangeValidatingHandler ( 0 , true ) , CONFIGURATION ) ; serverGroups . registerReadWriteAttribute ( PROFILE , null , ServerGroupProfileWriteAttributeHandler . INSTANCE , CONFIGURATION ) ; DomainServerLifecycleHandlers . registerServerGroupHandlers ( serverGroups ) ; final ManagementResourceRegistration groupVMs = serverGroups . registerSubModel ( GLOBAL ) ; ServerGroupDeploymentReplaceHandler sgdrh = new ServerGroupDeploymentReplaceHandler ( fileRepository ) ; serverGroups . registerOperationHandler ( ServerGroupDeploymentReplaceHandler . OPERATION_NAME , sgdrh , sgdrh ) ; final ManagementResourceRegistration serverGroupDeployments = serverGroups . registerSubModel ( PathElement . pathElement ( DEPLOYMENT ) , SERVER_GROUP_DEPLOYMENT ) ; ServerGroupDeploymentAddHandler sgdah = new ServerGroupDeploymentAddHandler ( fileRepository ) ; serverGroupDeployments . registerOperationHandler ( ServerGroupDeploymentAddHandler . OPERATION_NAME , sgdah , sgdah ) ; serverGroupDeployments . registerOperationHandler ( ServerGroupDeploymentDeployHandler . OPERATION_NAME , ServerGroupDeploymentDeployHandler . INSTANCE , ServerGroupDeploymentDeployHandler . INSTANCE ) ; serverGroupDeployments . registerOperationHandler ( ServerGroupDeploymentRedeployHandler . OPERATION_NAME , ServerGroupDeploymentRedeployHandler . INSTANCE , ServerGroupDeploymentRedeployHandler . INSTANCE ) ; serverGroupDeployments . registerOperationHandler ( ServerGroupDeploymentUndeployHandler . OPERATION_NAME , ServerGroupDeploymentUndeployHandler . INSTANCE , ServerGroupDeploymentUndeployHandler . INSTANCE ) ; serverGroupDeployments . registerOperationHandler ( DeploymentRemoveHandler . OPERATION_NAME , ServerGroupDeploymentRemoveHandler . INSTANCE , ServerGroupDeploymentRemoveHandler . INSTANCE ) ; ManagementResourceRegistration serverGroupSystemProperties = serverGroups . registerSubModel ( PathElement . pathElement ( SYSTEM_PROPERTY ) , SERVER_GROUP_SYSTEM_PROPERTY_PROVIDER ) ; serverGroupSystemProperties . registerOperationHandler ( SystemPropertyAddHandler . OPERATION_NAME , INSTANCE_WITH_BOOTTIME , INSTANCE_WITH_BOOTTIME , false ) ; serverGroupSystemProperties . registerOperationHandler ( SystemPropertyRemoveHandler . OPERATION_NAME , SystemPropertyRemoveHandler . INSTANCE , SystemPropertyRemoveHandler . INSTANCE , false ) ; serverGroupSystemProperties . registerReadWriteAttribute ( VALUE , null , SystemPropertyValueWriteAttributeHandler . INSTANCE , CONFIGURATION ) ; serverGroupSystemProperties . registerReadWriteAttribute ( BOOT_TIME , null , new org . jboss . as . controller . operations . global . WriteAttributeHandlers . ModelTypeValidatingHandler ( ModelType . BOOLEAN ) , CONFIGURATION ) ; final ManagementResourceRegistration deployments = root . registerSubModel ( PathElement . pathElement ( DEPLOYMENT ) , DEPLOYMENT_PROVIDER ) ; DeploymentAddHandler dah = ( isMaster ) ? new DeploymentAddHandler ( contentRepo ) : new DeploymentAddHandler ( ) ; deployments . registerOperationHandler ( DeploymentAddHandler . OPERATION_NAME , dah , dah ) ; DeploymentRemoveHandler drh = ( isMaster ) ? DeploymentRemoveHandler . createForMaster ( contentRepo ) : DeploymentRemoveHandler . createForSlave ( fileRepository ) ; deployments . registerOperationHandler ( DeploymentRemoveHandler . OPERATION_NAME , drh , drh ) ; ManagedDMRContentTypeResourceDefinition plansDef = new ManagedDMRContentTypeResourceDefinition ( contentRepo , ROLLOUT_PLAN , PathElement . pathElement ( MANAGEMENT_CLIENT_CONTENT , ROLLOUT_PLANS ) , DomainRootDescription . getResourceDescriptionResolver ( ROLLOUT_PLANS ) ) ; ManagementResourceRegistration mgmtContent = root . registerSubModel ( plansDef ) ; ParameterValidator contentValidator = new AbstractParameterValidator ( ) { @ Override public void validateParameter ( String parameterName , ModelNode value ) throws OperationFailedException { DomainModelUtil . validateRolloutPlanStructure ( value ) ; } } ; ManagedDMRContentResourceDefinition planDef = ManagedDMRContentResourceDefinition . create ( ROLLOUT_PLAN , contentValidator , DomainRootDescription . getResourceDescriptionResolver ( ROLLOUT_PLAN ) ) ; mgmtContent . registerSubModel ( planDef ) ; root . registerSubModel ( new org . jboss . as . controller . extension . ExtensionResourceDefinition ( extensionRegistry , true , ( ! isMaster ) ) ) ; extensionRegistry . setSubsystemParentResourceRegistrations ( profile , null ) ; if ( ! isMaster ) { final ApplyExtensionsHandler aexh = new ApplyExtensionsHandler ( extensionRegistry , hostControllerInfo , ignoredDomainResourceRegistry ) ; root . registerOperationHandler ( ApplyExtensionsHandler . OPERATION_NAME , aexh , aexh , false , EntryType . PRIVATE ) ; ApplyRemoteMasterDomainModelHandler armdmh = new ApplyRemoteMasterDomainModelHandler ( fileRepository , contentRepo , hostControllerInfo , ignoredDomainResourceRegistry ) ; root . registerOperationHandler ( ApplyRemoteMasterDomainModelHandler . OPERATION_NAME , armdmh , armdmh , false , PRIVATE ) ; } else { final SubsystemDescriptionDump dumper = new SubsystemDescriptionDump ( extensionRegistry ) ; <START_BUG> root . registerOperationHandler ( SubsystemDescriptionDump . OPERATION_NAME , dumper , DESCRIPTION , false , PRIVATE , EnumSet . of ( READ_ONLY ) ) ; <END_BUG> } } public static void validateRolloutPlanStructure ( ModelNode plan ) throws OperationFailedException { } private static final List < String > ALLOWED_SERVER_GROUP_CHILDREN = Arrays . asList ( ROLLING_TO_SERVERS , MAX_FAILURE_PERCENTAGE , MAX_FAILED_SERVERS ) ; private static void validateInSeriesServerGroup ( ModelNode serverGroup ) throws OperationFailedException { } }

Fix:
root . registerOperationHandler ( DEFINITION , dumper , false ) ;