Buggy code:
public class ResourceAdaptersExtension implements Extension { private static final Logger log = Logger . getLogger ( "org.jboss.as.datasources" ) ; @ Override public void initialize ( final ExtensionContext context ) { ResourceAdaptersExtension . log . debugf ( "Initializing<seq2seq4repair_space>ResourceAdapters<seq2seq4repair_space>Extension" ) ; final SubsystemRegistration registration = context . registerSubsystem ( Constants . RESOURCEADAPTERS ) ; registration . registerXMLElementWriter ( ResourceAdaptersExtension . ResourceAdapterSubsystemParser . INSTANCE ) ; final ModelNodeRegistration subsystem = registration . registerSubsystemModel ( ResourceAdaptersSubsystemProviders . SUBSYSTEM ) ; subsystem . registerOperationHandler ( ADD , INSTANCE , ResourceAdaptersSubsystemProviders . SUBSYSTEM_ADD_DESC , false ) ; subsystem . registerOperationHandler ( DESCRIBE , ResourceAdaptersExtension . ResourceAdaptersSubsystemDescribeHandler . INSTANCE , ResourceAdaptersExtension . ResourceAdaptersSubsystemDescribeHandler . INSTANCE , false , PRIVATE ) ; final ModelNodeRegistration resourceadapter = subsystem . registerSubModel ( PathElement . pathElement ( Constants . RESOURCEADAPTER ) , ResourceAdaptersSubsystemProviders . RESOURCEADAPTER_DESC ) ; resourceadapter . registerOperationHandler ( ADD , RaAdd . INSTANCE , ResourceAdaptersSubsystemProviders . ADD_RESOURCEADAPTER_DESC , false ) ; resourceadapter . registerOperationHandler ( REMOVE , RaRemove . INSTANCE , ResourceAdaptersSubsystemProviders . REMOVE_RESOURCEADAPTER_DESC , false ) ; for ( final String attributeName : RaConfigRWHandler . ATTRIBUTES ) { <START_BUG> resourceadapter . registerReadWriteAttribute ( attributeName , RaConfigReadHandler . INSTANCE , RaConfigWriteHandler . INSTANCE , RUNTIME ) ; <END_BUG> } } @ Override public void initializeParsers ( final ExtensionParsingContext context ) { } static final class ResourceAdapterSubsystemParser implements XMLStreamConstants , XMLElementReader < List < ModelNode > > , XMLElementWriter < SubsystemMarshallingContext > { static final ResourceAdaptersExtension . ResourceAdapterSubsystemParser INSTANCE = new ResourceAdaptersExtension . ResourceAdapterSubsystemParser ( ) ; @ Override public void writeContent ( XMLExtendedStreamWriter writer , SubsystemMarshallingContext context ) throws XMLStreamException { } private void writeRaElement ( XMLExtendedStreamWriter streamWriter , ModelNode ra ) throws XMLStreamException { } private void writeConfigProperties ( XMLExtendedStreamWriter streamWriter , ModelNode ra ) throws XMLStreamException { } private void writeAdminObject ( XMLExtendedStreamWriter streamWriter , ModelNode adminObject ) throws XMLStreamException { } private void writeConDef ( XMLExtendedStreamWriter streamWriter , ModelNode conDef ) throws XMLStreamException { } private void writeElementIfHas ( XMLExtendedStreamWriter writer , ModelNode node , String localName , String identifier ) throws XMLStreamException { } private void writeElementIfHas ( XMLExtendedStreamWriter writer , ModelNode node , ResourceAdapter . Tag element , String identifier ) throws XMLStreamException { } private void writeElementIfHas ( XMLExtendedStreamWriter writer , ModelNode node , CommonPool . Tag element , String identifier ) throws XMLStreamException { } private void writeElementIfHas ( XMLExtendedStreamWriter writer , ModelNode node , CommonXaPool . Tag element , String identifier ) throws XMLStreamException { } private void writeElementIfHas ( XMLExtendedStreamWriter writer , ModelNode node , CommonSecurity . Tag element , String identifier ) throws XMLStreamException { } private void writeElementIfHas ( XMLExtendedStreamWriter writer , ModelNode node , CommonTimeOut . Tag element , String identifier ) throws XMLStreamException { } private void writeElementIfHas ( XMLExtendedStreamWriter writer , ModelNode node , CommonValidation . Tag element , String identifier ) throws XMLStreamException { } private boolean has ( ModelNode node , String name ) { } private void writeAttributeIfHas ( final XMLExtendedStreamWriter writer , final ModelNode node , final CommonAdminObject . Attribute attr , final String identifier ) throws XMLStreamException { } private void writeAttributeIfHas ( final XMLExtendedStreamWriter writer , final ModelNode node , final String attrName , final String identifier ) throws XMLStreamException { } private void writeAttributeIfHas ( final XMLExtendedStreamWriter writer , final ModelNode node , final CommonConnDef . Attribute attr , final String identifier ) throws XMLStreamException { } @ Override public void readElement ( final XMLExtendedStreamReader reader , final List < ModelNode > list ) throws XMLStreamException { } private ModelNode createAdminObjectModel ( CommonAdminObject adminObject ) { } private ModelNode createConnectionDefinitionModel ( CommonConnDef conDef ) { } } private static void setStringIfNotNull ( final ModelNode node , final String identifier , final String value ) { } private static void setExtensionIfNotNull ( final ModelNode dsModel , final String extensionclassname , final String extensionProperties , final org . jboss . jca . common . api . metadata . common . Extension extension ) { } private static void setBooleanIfNotNull ( final ModelNode node , final String identifier , final Boolean value ) { } private static void setIntegerIfNotNull ( final ModelNode node , final String identifier , final Integer value ) { } private static void setLongIfNotNull ( final ModelNode node , final String identifier , final Long value ) { } private static class ResourceAdaptersSubsystemDescribeHandler implements ModelQueryOperationHandler , DescriptionProvider { static final ResourceAdaptersExtension . ResourceAdaptersSubsystemDescribeHandler INSTANCE = new ResourceAdaptersExtension . ResourceAdaptersSubsystemDescribeHandler ( ) ; @ Override public OperationResult execute ( OperationContext context , ModelNode operation , ResultHandler resultHandler ) { } @ Override public ModelNode getModelDescription ( Locale locale ) { } } }

Fix:
resourceadapter . registerReadWriteAttribute ( attributeName , RaConfigReadHandler . INSTANCE , RaConfigWriteHandler . INSTANCE , CONFIGURATION ) ;