Buggy code:
public class Messaging12SubsystemParser extends MessagingSubsystemParser { private static final Messaging12SubsystemParser INSTANCE = new Messaging12SubsystemParser ( ) ; public static MessagingSubsystemParser getInstance ( ) { } protected Messaging12SubsystemParser ( ) { } @ Override public Namespace getExpectedNamespace ( ) { } @ Override protected void writePooledConnectionFactoryAttributes ( XMLExtendedStreamWriter writer , String name , ModelNode factory ) throws XMLStreamException { } protected ModelNode createConnectionFactory ( XMLExtendedStreamReader reader , ModelNode connectionFactory , boolean pooled ) throws XMLStreamException { } protected void processBridge ( XMLExtendedStreamReader reader , ModelNode address , List < ModelNode > updates ) throws XMLStreamException { } protected void processClusterConnection ( XMLExtendedStreamReader reader , ModelNode address , List < ModelNode > updates ) throws XMLStreamException { requireSingleAttribute ( reader , NAME ) ; String name = reader . getAttributeValue ( 0 ) ; ModelNode clusterConnectionAdd = getEmptyOperation ( ADD , address . clone ( ) . add ( CLUSTER_CONNECTION , name ) ) ; EnumSet < Element > required = EnumSet . of ( ADDRESS , CONNECTOR_REF ) ; Set < Element > seen = EnumSet . noneOf ( Element . class ) ; while ( ( reader . hasNext ( ) ) && ( ( reader . nextTag ( ) ) != ( END_ELEMENT ) ) ) { final Element element = Element . forName ( reader . getLocalName ( ) ) ; if ( ! ( seen . add ( element ) ) ) { throw ParseUtils . duplicateNamedElement ( reader , element . getLocalName ( ) ) ; } required . remove ( element ) ; switch ( element ) { case CALL_TIMEOUT : case CONFIRMATION_WINDOW_SIZE : case FORWARD_WHEN_NO_CONSUMERS : case MAX_HOPS : case MIN_LARGE_MESSAGE_SIZE : handleElementText ( reader , element , clusterConnectionAdd ) ; break ; case ADDRESS : { <START_BUG> handleElementText ( reader , element , CLUSTER_CONNECTION_ADDRESS . getName ( ) , clusterConnectionAdd ) ; <END_BUG> break ; } case CONNECTOR_REF : { handleElementText ( reader , element , "simple" , clusterConnectionAdd ) ; break ; } case CHECK_PERIOD : case CONNECTION_TTL : case MAX_RETRY_INTERVAL : case RECONNECT_ATTEMPTS : case RETRY_INTERVAL : case RETRY_INTERVAL_MULTIPLIER : case USE_DUPLICATE_DETECTION : handleElementText ( reader , element , "cluster" , clusterConnectionAdd ) ; break ; case CommonAttributes . STATIC_CONNECTORS : if ( seen . contains ( DISCOVERY_GROUP_REF ) ) { throw new XMLStreamException ( MessagingMessages . MESSAGES . illegalElement ( CommonAttributes . STATIC_CONNECTORS , CommonAttributes . DISCOVERY_GROUP_REF ) , reader . getLocation ( ) ) ; } processStaticConnectors ( reader , clusterConnectionAdd , true ) ; break ; case CommonAttributes . DISCOVERY_GROUP_REF : { if ( seen . contains ( STATIC_CONNECTORS ) ) { throw new XMLStreamException ( MessagingMessages . MESSAGES . illegalElement ( CommonAttributes . DISCOVERY_GROUP_REF , CommonAttributes . STATIC_CONNECTORS ) , reader . getLocation ( ) ) ; } final String groupRef = readStringAttributeElement ( reader , CommonAttributes . DISCOVERY_GROUP_NAME . getXmlName ( ) ) ; CommonAttributes . DISCOVERY_GROUP_NAME . parseAndSetParameter ( groupRef , clusterConnectionAdd , reader ) ; break ; } default : { throw ParseUtils . unexpectedElement ( reader ) ; } } } checkOnlyOneOfElements ( reader , seen , STATIC_CONNECTORS , DISCOVERY_GROUP_REF ) ; if ( ! ( required . isEmpty ( ) ) ) { missingRequired ( reader , required ) ; } updates . add ( clusterConnectionAdd ) ; } }

Fix:
handleElementText ( reader , element , ClusterConnectionDefinition . ADDRESS . getName ( ) , clusterConnectionAdd ) ;