Buggy code:
private void processClusterConnections ( XMLExtendedStreamReader reader , ModelNode address , List < ModelNode > updates ) throws XMLStreamException { } protected void processClusterConnection ( XMLExtendedStreamReader reader , ModelNode address , List < ModelNode > updates ) throws XMLStreamException { } private void processBridges ( XMLExtendedStreamReader reader , ModelNode address , List < ModelNode > updates ) throws XMLStreamException { } protected void processBridge ( XMLExtendedStreamReader reader , ModelNode address , List < ModelNode > updates ) throws XMLStreamException { } protected void processStaticConnectors ( XMLExtendedStreamReader reader , ModelNode addOperation , boolean cluster ) throws XMLStreamException { } private void processGroupingHandler ( XMLExtendedStreamReader reader , ModelNode address , List < ModelNode > updates ) throws XMLStreamException { } private void processRemotingInterceptors ( XMLExtendedStreamReader reader , ModelNode operation ) throws XMLStreamException { } static void processBroadcastGroups ( XMLExtendedStreamReader reader , ModelNode address , List < ModelNode > updates ) throws XMLStreamException { } private static void parseBroadcastGroup ( XMLExtendedStreamReader reader , ModelNode address , List < ModelNode > updates ) throws XMLStreamException { } static void processDiscoveryGroups ( XMLExtendedStreamReader reader , ModelNode address , List < ModelNode > updates ) throws XMLStreamException { } private static void parseDiscoveryGroup ( XMLExtendedStreamReader reader , ModelNode address , List < ModelNode > updates ) throws XMLStreamException { } void processConnectionFactories ( final XMLExtendedStreamReader reader , ModelNode address , List < ModelNode > updates ) throws XMLStreamException { } static void processJmsDestinations ( final XMLExtendedStreamReader reader , final ModelNode address , List < ModelNode > updates ) throws XMLStreamException { } static void processAcceptors ( final XMLExtendedStreamReader reader , final ModelNode address , final List < ModelNode > updates ) throws XMLStreamException { } static void parseQueues ( final XMLExtendedStreamReader reader , final ModelNode address , final List < ModelNode > list ) throws XMLStreamException { } static void parseQueue ( final XMLExtendedStreamReader reader , final ModelNode queue ) throws XMLStreamException { } static ModelNode processSecuritySettings ( final XMLExtendedStreamReader reader , final ModelNode address , final List < ModelNode > operations ) throws XMLStreamException { } static void parseSecurityRoles ( final XMLExtendedStreamReader reader , final ModelNode address , final List < ModelNode > operations ) throws XMLStreamException { } static void processConnectors ( final XMLExtendedStreamReader reader , final ModelNode address , final List < ModelNode > updates ) throws XMLStreamException { } static void processAddressSettings ( final XMLExtendedStreamReader reader , final ModelNode address , final List < ModelNode > operations ) throws XMLStreamException { } static ModelNode parseAddressSettings ( final XMLExtendedStreamReader reader ) throws XMLStreamException { } static void parseTransportConfigurationParams ( final XMLExtendedStreamReader reader , final ModelNode transportConfig , final boolean generic ) throws XMLStreamException { } static void parseDirectory ( final XMLExtendedStreamReader reader , final String name , final ModelNode address , final List < ModelNode > updates ) throws XMLStreamException { } private static void parseDiverts ( final XMLExtendedStreamReader reader , final ModelNode address , final List < ModelNode > list ) throws XMLStreamException { } private static void parseDivert ( final XMLExtendedStreamReader reader , final ModelNode address , final List < ModelNode > list ) throws XMLStreamException { } static void unhandledElement ( XMLExtendedStreamReader reader , Element element ) throws XMLStreamException { } static void handleElementText ( final XMLExtendedStreamReader reader , final Element element , final ModelNode node ) throws XMLStreamException { } static void handleElementText ( final XMLExtendedStreamReader reader , final Element element , final String modelName , final ModelNode node ) throws XMLStreamException { } static void skipElementText ( final XMLExtendedStreamReader reader ) throws XMLStreamException { } @ Deprecated static void handleElementText ( final XMLExtendedStreamReader reader , final Element element , final ModelNode node , final ModelType expectedType , final boolean allowNull , final boolean allowExpression ) throws XMLStreamException { } public Namespace getExpectedNamespace ( ) { } public void writeContent ( final XMLExtendedStreamWriter writer , final SubsystemMarshallingContext context ) throws XMLStreamException { } protected void writeHornetQServer ( final XMLExtendedStreamWriter writer , final String serverName , final ModelNode node ) throws XMLStreamException { } private void writeConnectorServices ( XMLExtendedStreamWriter writer , ModelNode node ) throws XMLStreamException { List < Property > properties = node . asPropertyList ( ) ; if ( ! ( properties . isEmpty ( ) ) ) { writer . writeStartElement ( CONNECTOR_SERVICES . getLocalName ( ) ) ; for ( final Property property : node . asPropertyList ( ) ) { writer . writeStartElement ( CONNECTOR_SERVICE . getLocalName ( ) ) ; writer . writeAttribute ( NAME . getLocalName ( ) , property . getName ( ) ) ; final ModelNode service = property . getValue ( ) ; <START_BUG> for ( AttributeDefinition attribute : CommonAttributes . CONNECTOR_SERVICE_ATTRIBUTES ) { <END_BUG> attribute . marshallAsElement ( property . getValue ( ) , writer ) ; } if ( service . hasDefined ( PARAM ) ) { for ( Property param : service . get ( PARAM ) . asPropertyList ( ) ) { writer . writeEmptyElement ( Element . PARAM . getLocalName ( ) ) ; writer . writeAttribute ( KEY . getLocalName ( ) , param . getName ( ) ) ; writer . writeAttribute ( VALUE . getLocalName ( ) , param . getValue ( ) . get ( CommonAttributes . VALUE . getName ( ) ) . asString ( ) ) ; } } writer . writeEndElement ( ) ; } writer . writeEndElement ( ) ; MessagingSubsystemParser . writeNewLine ( writer ) ; } } private void writeBridges ( XMLExtendedStreamWriter writer , ModelNode node ) throws XMLStreamException { } private void writeClusterConnections ( XMLExtendedStreamWriter writer , ModelNode node ) throws XMLStreamException { } private void writeGroupingHandler ( XMLExtendedStreamWriter writer , ModelNode node ) throws XMLStreamException { } static void writeAcceptors ( final XMLExtendedStreamWriter writer , final ModelNode node ) throws XMLStreamException { } static void writeConnectors ( final XMLExtendedStreamWriter writer , final ModelNode node ) throws XMLStreamException { } static void writeAcceptorAndConnectorContent ( final XMLExtendedStreamWriter writer , final Property property ) throws XMLStreamException { }

Fix:
for ( AttributeDefinition attribute : ConnectorServiceDefinition . ATTRIBUTES ) {