Buggy code:
VaultWriteAttributeHandler . INSTANCE . registerAttributes ( vault ) ; ManagementResourceRegistration management = hostRegistration . registerSubModel ( PathElement . pathElement ( ModelDescriptionConstants . CORE_SERVICE , ModelDescriptionConstants . MANAGEMENT ) , MANAGEMENT_WITH_INTERFACES_PROVIDER ) ; management . registerSubModel ( SecurityRealmResourceDefinition . INSTANCE ) ; management . registerSubModel ( LdapConnectionResourceDefinition . INSTANCE ) ; management . registerSubModel ( new org . jboss . as . host . controller . resources . NativeManagementResourceDefinition ( hostControllerInfo ) ) ; management . registerSubModel ( new org . jboss . as . host . controller . resources . HttpManagementResourceDefinition ( hostControllerInfo , environment ) ) ; PlatformMBeanResourceRegistrar . registerPlatformMBeanResources ( hostRegistration ) ; LocalDomainControllerAddHandler localDcAddHandler = LocalDomainControllerAddHandler . getInstance ( root , hostControllerInfo , configurationPersister , localFileRepository , contentRepository , domainController , channelRegistry , extensionRegistry ) ; hostRegistration . registerOperationHandler ( LocalDomainControllerAddHandler . OPERATION_NAME , localDcAddHandler , localDcAddHandler , false ) ; hostRegistration . registerOperationHandler ( LocalDomainControllerRemoveHandler . OPERATION_NAME , LocalDomainControllerRemoveHandler . INSTANCE , LocalDomainControllerRemoveHandler . INSTANCE , false ) ; RemoteDomainControllerAddHandler remoteDcAddHandler = RemoteDomainControllerAddHandler . getInstance ( root , hostControllerInfo , configurationPersister , contentRepository , remoteFileRepository , extensionRegistry ) ; hostRegistration . registerOperationHandler ( RemoteDomainControllerAddHandler . OPERATION_NAME , remoteDcAddHandler , remoteDcAddHandler , false ) ; hostRegistration . registerOperationHandler ( RemoteDomainControllerRemoveHandler . OPERATION_NAME , RemoteDomainControllerRemoveHandler . INSTANCE , RemoteDomainControllerRemoveHandler . INSTANCE , false ) ; SnapshotDeleteHandler snapshotDelete = new SnapshotDeleteHandler ( configurationPersister . getHostPersister ( ) ) ; hostRegistration . registerOperationHandler ( SnapshotDeleteHandler . OPERATION_NAME , snapshotDelete , snapshotDelete , false ) ; SnapshotListHandler snapshotList = new SnapshotListHandler ( configurationPersister . getHostPersister ( ) ) ; hostRegistration . registerOperationHandler ( SnapshotListHandler . OPERATION_NAME , snapshotList , snapshotList , false ) ; SnapshotTakeHandler snapshotTake = new SnapshotTakeHandler ( configurationPersister . getHostPersister ( ) ) ; hostRegistration . registerOperationHandler ( SnapshotTakeHandler . OPERATION_NAME , snapshotTake , snapshotTake , false ) ; final ManagementResourceRegistration jvms = hostRegistration . registerSubModel ( PathElement . pathElement ( ModelDescriptionConstants . JVM ) , JVM_PROVIDER ) ; JVMHandlers . register ( jvms ) ; ManagementResourceRegistration paths = hostRegistration . registerSubModel ( PathElement . pathElement ( ModelDescriptionConstants . PATH ) , SPECIFIED_PATH_PROVIDER ) ; paths . registerOperationHandler ( PathAddHandler . OPERATION_NAME , SPECIFIED_INSTANCE , SPECIFIED_INSTANCE , false ) ; paths . registerOperationHandler ( PathRemoveHandler . OPERATION_NAME , PathRemoveHandler . INSTANCE , PathRemoveHandler . INSTANCE , false ) ; ManagementResourceRegistration interfaces = hostRegistration . registerSubModel ( PathElement . pathElement ( ModelDescriptionConstants . INTERFACE ) , SPECIFIED_INTERFACE_PROVIDER ) ; HostSpecifiedInterfaceAddHandler hsiah = new HostSpecifiedInterfaceAddHandler ( ) ; interfaces . registerOperationHandler ( InterfaceAddHandler . OPERATION_NAME , hsiah , hsiah , false ) ; HostSpecifiedInterfaceRemoveHandler sirh = new HostSpecifiedInterfaceRemoveHandler ( ) ; interfaces . registerOperationHandler ( InterfaceRemoveHandler . OPERATION_NAME , sirh , sirh , false ) ; InterfaceCriteriaWriteHandler . register ( interfaces ) ; interfaces . registerOperationHandler ( SpecifiedInterfaceResolveHandler . OPERATION_NAME , SpecifiedInterfaceResolveHandler . INSTANCE , SpecifiedInterfaceResolveHandler . INSTANCE ) ; ManagementResourceRegistration servers = hostRegistration . registerSubModel ( PathElement . pathElement ( ModelDescriptionConstants . SERVER_CONFIG ) , SERVER_PROVIDER ) ; servers . registerOperationHandler ( ServerAddHandler . OPERATION_NAME , ServerAddHandler . INSTANCE , ServerAddHandler . INSTANCE , false ) ; servers . registerOperationHandler ( ServerRemoveHandler . OPERATION_NAME , ServerRemoveHandler . INSTANCE , ServerRemoveHandler . INSTANCE , false ) ; servers . registerReadWriteAttribute ( ModelDescriptionConstants . AUTO_START , null , new WriteAttributeHandlers . ModelTypeValidatingHandler ( ModelType . BOOLEAN ) , CONFIGURATION ) ; servers . registerReadWriteAttribute ( ModelDescriptionConstants . SOCKET_BINDING_GROUP , null , WriteAttributeHandlers . WriteAttributeOperationHandler . INSTANCE , CONFIGURATION ) ; servers . registerReadWriteAttribute ( ModelDescriptionConstants . SOCKET_BINDING_PORT_OFFSET , null , new WriteAttributeHandlers . IntRangeValidatingHandler ( 0 , true ) , CONFIGURATION ) ; servers . registerReadWriteAttribute ( ModelDescriptionConstants . PRIORITY , null , new WriteAttributeHandlers . IntRangeValidatingHandler ( 0 ) , CONFIGURATION ) ; servers . registerReadWriteAttribute ( ModelDescriptionConstants . CPU_AFFINITY , null , new WriteAttributeHandlers . StringLengthValidatingHandler ( 1 ) , CONFIGURATION ) ; <START_BUG> servers . registerReadWriteAttribute ( ModelDescriptionConstants . GROUP , null , new org . jboss . as . host . controller . operations . ServerConfigGroupWriteAttributeHandler ( root , hostControllerInfo ) , CONFIGURATION ) ; <END_BUG> servers . registerMetric ( ATTRIBUTE_NAME , new org . jboss . as . host . controller . operations . ServerStatusHandler ( serverInventory ) ) ; ServerStartHandler startHandler = new ServerStartHandler ( serverInventory ) ; servers . registerOperationHandler ( ServerStartHandler . OPERATION_NAME , startHandler , startHandler , EnumSet . of ( HOST_CONTROLLER_ONLY ) ) ; ServerRestartHandler restartHandler = new ServerRestartHandler ( serverInventory ) ; servers . registerOperationHandler ( ServerRestartHandler . OPERATION_NAME , restartHandler , restartHandler , EnumSet . of ( HOST_CONTROLLER_ONLY ) ) ; ServerStopHandler stopHandler = new ServerStopHandler ( serverInventory ) ; servers . registerOperationHandler ( ServerStopHandler . OPERATION_NAME , stopHandler , stopHandler , EnumSet . of ( HOST_CONTROLLER_ONLY ) ) ; ManagementResourceRegistration serverPaths = servers . registerSubModel ( PathElement . pathElement ( ModelDescriptionConstants . PATH ) , SPECIFIED_INTERFACE_PROVIDER ) ; serverPaths . registerOperationHandler ( PathAddHandler . OPERATION_NAME , SPECIFIED_INSTANCE , SPECIFIED_INSTANCE , false ) ; serverPaths . registerOperationHandler ( PathRemoveHandler . OPERATION_NAME , PathRemoveHandler . INSTANCE , PathRemoveHandler . INSTANCE , false ) ; ManagementResourceRegistration serverInterfaces = servers . registerSubModel ( PathElement . pathElement ( ModelDescriptionConstants . INTERFACE ) , SPECIFIED_INTERFACE_PROVIDER ) ; serverInterfaces . registerOperationHandler ( InterfaceAddHandler . OPERATION_NAME , SpecifiedInterfaceAddHandler . INSTANCE , SpecifiedInterfaceAddHandler . INSTANCE , false ) ; serverInterfaces . registerOperationHandler ( InterfaceRemoveHandler . OPERATION_NAME , SpecifiedInterfaceRemoveHandler . INSTANCE , SpecifiedInterfaceRemoveHandler . INSTANCE , false ) ; InterfaceCriteriaWriteHandler . register ( serverInterfaces ) ; ManagementResourceRegistration serverSysProps = servers . registerSubModel ( PathElement . pathElement ( ModelDescriptionConstants . SYSTEM_PROPERTY ) , SERVER_SYSTEM_PROPERTIES_PROVIDER ) ; serverSysProps . registerOperationHandler ( SystemPropertyAddHandler . OPERATION_NAME , INSTANCE_WITH_BOOTTIME , INSTANCE_WITH_BOOTTIME , false ) ; serverSysProps . registerOperationHandler ( SystemPropertyRemoveHandler . OPERATION_NAME , SystemPropertyRemoveHandler . INSTANCE , SystemPropertyRemoveHandler . INSTANCE , false ) ; serverSysProps . registerReadWriteAttribute ( ModelDescriptionConstants . VALUE , null , SystemPropertyValueWriteAttributeHandler . INSTANCE , CONFIGURATION ) ; serverSysProps . registerReadWriteAttribute ( ModelDescriptionConstants . BOOT_TIME , null , new WriteAttributeHandlers . ModelTypeValidatingHandler ( ModelType . BOOLEAN ) , CONFIGURATION ) ;

Fix:
servers . registerReadWriteAttribute ( ModelDescriptionConstants . GROUP , null , ServerConfigGroupWriteAttributeHandler . INSTANCE , CONFIGURATION ) ;