Buggy code:
public class HostProcessReloadHandler extends ProcessReloadHandler < HostRunningModeControl > { private static final AttributeDefinition RESTART_SERVERS = new org . jboss . as . controller . SimpleAttributeDefinitionBuilder ( ModelDescriptionConstants . RESTART_SERVERS , ModelType . BOOLEAN , true ) . setDefaultValue ( new ModelNode ( true ) ) . build ( ) ; private static final AttributeDefinition USE_CURRENT_DOMAIN_CONFIG = new org . jboss . as . controller . SimpleAttributeDefinitionBuilder ( ModelDescriptionConstants . USE_CURRENT_DOMAIN_CONFIG , ModelType . BOOLEAN , true ) . setDefaultValue ( new ModelNode ( true ) ) . build ( ) ; private static final AttributeDefinition USE_CURRENT_HOST_CONFIG = new org . jboss . as . controller . SimpleAttributeDefinitionBuilder ( ModelDescriptionConstants . USE_CURRENT_HOST_CONFIG , ModelType . BOOLEAN , true ) . setDefaultValue ( new ModelNode ( true ) ) . build ( ) ; private static final AttributeDefinition [ ] MASTER_ATTRIBUTES = new AttributeDefinition [ ] { ADMIN_ONLY , HostProcessReloadHandler . RESTART_SERVERS , HostProcessReloadHandler . USE_CURRENT_DOMAIN_CONFIG , HostProcessReloadHandler . USE_CURRENT_HOST_CONFIG } ; private static final AttributeDefinition [ ] SLAVE_ATTRIBUTES = new AttributeDefinition [ ] { ADMIN_ONLY , HostProcessReloadHandler . RESTART_SERVERS , HostProcessReloadHandler . USE_CURRENT_HOST_CONFIG } ; public static OperationDefinition getDefinition ( final LocalHostControllerInfo hostControllerInfo ) { } public HostProcessReloadHandler ( final ServiceName rootService , final HostRunningModeControl runningModeControl , final ControlledProcessState processState ) { } @ Override protected ProcessReloadHandler . ReloadContext < HostRunningModeControl > initializeReloadContext ( final OperationContext context , final ModelNode operation ) throws OperationFailedException { } private static class DeferredParametersOperationDefinitionBuilder extends SimpleOperationDefinitionBuilder { private final LocalHostControllerInfo hostControllerInfo ; public DeferredParametersOperationDefinitionBuilder ( LocalHostControllerInfo hostControllerInfo , String name , ResourceDescriptionResolver resolver ) { } @ Override public SimpleOperationDefinition internalBuild ( final ResourceDescriptionResolver resolver , final ResourceDescriptionResolver attributeResolver ) { <START_BUG> return new SimpleOperationDefinition ( name , resolver , attributeResolver , entryType , flags , replyType , replyValueType , deprecationData , replyParameters , parameters ) { <END_BUG> @ Override public DescriptionProvider getDescriptionProvider ( ) { return new DescriptionProvider ( ) { @ Override public ModelNode getModelDescription ( Locale locale ) { AttributeDefinition [ ] params = ( hostControllerInfo . isMasterDomainController ( ) ) ? HostProcessReloadHandler . MASTER_ATTRIBUTES : HostProcessReloadHandler . SLAVE_ATTRIBUTES ; return new org . jboss . as . controller . descriptions . DefaultOperationDescriptionProvider ( getName ( ) , resolver , attributeResolver , replyType , replyValueType , deprecationData , replyParameters , params ) . getModelDescription ( locale ) ; } } ; } } ; } } }

Fix:
return new SimpleOperationDefinition ( name , resolver , attributeResolver , entryType , flags , replyType , replyValueType , false , deprecationData , replyParameters , parameters ) {