Buggy code:
public class InfinispanSubsystemXMLReader_1_0 implements XMLElementReader < List < ModelNode > > { @ Override public void readElement ( XMLExtendedStreamReader reader , List < ModelNode > operations ) throws XMLStreamException { } private void parseContainer ( XMLExtendedStreamReader reader , ModelNode subsystemAddress , List < ModelNode > operations ) throws XMLStreamException { ModelNode container = Util . getEmptyOperation ( ADD , null ) ; String name = null ; for ( int i = 0 ; i < ( reader . getAttributeCount ( ) ) ; i ++ ) { ParseUtils . requireNoNamespaceAttribute ( reader , i ) ; String value = reader . getAttributeValue ( i ) ; Attribute attribute = Attribute . forName ( reader . getAttributeLocalName ( i ) ) ; switch ( attribute ) { case NAME : { name = value ; break ; } case DEFAULT_CACHE : { container . get ( DEFAULT_CACHE ) . set ( value ) ; break ; } case JNDI_NAME : { container . get ( JNDI_NAME ) . set ( value ) ; break ; } case LISTENER_EXECUTOR : { container . get ( LISTENER_EXECUTOR ) . set ( value ) ; break ; } case EVICTION_EXECUTOR : { container . get ( EVICTION_EXECUTOR ) . set ( value ) ; break ; } case REPLICATION_QUEUE_EXECUTOR : { container . get ( REPLICATION_QUEUE_EXECUTOR ) . set ( value ) ; break ; } default : { throw ParseUtils . unexpectedAttribute ( reader , i ) ; } } } if ( ( name == null ) || ( ! ( container . hasDefined ( DEFAULT_CACHE ) ) ) ) { throw ParseUtils . missingRequired ( reader , EnumSet . of ( NAME , Attribute . DEFAULT_CACHE ) ) ; } ModelNode containerAddress = subsystemAddress . clone ( ) ; containerAddress . add ( CACHE_CONTAINER , name ) ; containerAddress . protect ( ) ; container . get ( OP_ADDR ) . set ( containerAddress ) ; operations . add ( container ) ; while ( ( reader . hasNext ( ) ) && ( ( reader . nextTag ( ) ) != ( XMLStreamConstants . END_ELEMENT ) ) ) { Element element = Element . forName ( reader . getLocalName ( ) ) ; switch ( element ) { case ALIAS : { <START_BUG> container . get ( ALIAS ) . add ( reader . getElementText ( ) ) ; <END_BUG> break ; } case TRANSPORT : { parseTransport ( reader , containerAddress , operations ) ; break ; } case LOCAL_CACHE : { parseLocalCache ( reader , containerAddress , operations ) ; break ; } case INVALIDATION_CACHE : { parseInvalidationCache ( reader , containerAddress , operations ) ; break ; } case REPLICATED_CACHE : { parseReplicatedCache ( reader , containerAddress , operations ) ; break ; } case DISTRIBUTED_CACHE : { parseDistributedCache ( reader , containerAddress , operations ) ; break ; } default : { throw ParseUtils . unexpectedElement ( reader ) ; } } } } private void parseTransport ( XMLExtendedStreamReader reader , ModelNode containerAddress , List < ModelNode > operations ) throws XMLStreamException { } private void parseCacheAttribute ( XMLExtendedStreamReader reader , int index , Attribute attribute , String value , ModelNode cache ) throws XMLStreamException { } private void parseClusteredCacheAttribute ( XMLExtendedStreamReader reader , int index , Attribute attribute , String value , ModelNode cache ) throws XMLStreamException { } private void parseLocalCache ( XMLExtendedStreamReader reader , ModelNode containerAddress , List < ModelNode > operations ) throws XMLStreamException { } @ SuppressWarnings ( "deprecation" ) private void parseDistributedCache ( XMLExtendedStreamReader reader , ModelNode containerAddress , List < ModelNode > operations ) throws XMLStreamException { } private void parseReplicatedCache ( XMLExtendedStreamReader reader , ModelNode containerAddress , List < ModelNode > operations ) throws XMLStreamException { } private void parseInvalidationCache ( XMLExtendedStreamReader reader , ModelNode containerAddress , List < ModelNode > operations ) throws XMLStreamException { } private void addCacheNameToAddress ( ModelNode cache , ModelNode containerAddress , String cacheType ) { } private void parseCacheElement ( XMLExtendedStreamReader reader , Element element , ModelNode cache , List < ModelNode > operations ) throws XMLStreamException { } private void parseRehashing ( XMLExtendedStreamReader reader , ModelNode cache , List < ModelNode > operations ) throws XMLStreamException { } @ SuppressWarnings ( "deprecation" ) private void parseStateTransfer ( XMLExtendedStreamReader reader , ModelNode cache , List < ModelNode > operations ) throws XMLStreamException { } private void parseLocking ( XMLExtendedStreamReader reader , ModelNode cache , List < ModelNode > operations ) throws XMLStreamException { } private void parseTransaction ( XMLExtendedStreamReader reader , ModelNode cache , List < ModelNode > operations ) throws XMLStreamException { } private void parseEviction ( XMLExtendedStreamReader reader , ModelNode cache , List < ModelNode > operations ) throws XMLStreamException { } private void parseExpiration ( XMLExtendedStreamReader reader , ModelNode cache , List < ModelNode > operations ) throws XMLStreamException { } private void parseCustomStore ( XMLExtendedStreamReader reader , ModelNode store ) throws XMLStreamException { } private void parseFileStore ( XMLExtendedStreamReader reader , ModelNode store ) throws XMLStreamException { } private void parseRemoteStore ( XMLExtendedStreamReader reader , ModelNode store ) throws XMLStreamException { } private void parseRemoteServer ( XMLExtendedStreamReader reader , ModelNode server ) throws XMLStreamException { } private void parseJDBCStore ( XMLExtendedStreamReader reader , ModelNode store ) throws XMLStreamException { } private void parseJDBCStoreTable ( XMLExtendedStreamReader reader , ModelNode table ) throws XMLStreamException { } private void parseJDBCStoreColumn ( XMLExtendedStreamReader reader , ModelNode column ) throws XMLStreamException { } private void parseStoreAttribute ( XMLExtendedStreamReader reader , int index , Attribute attribute , String value , ModelNode store ) throws XMLStreamException { } private void parseStoreProperties ( XMLExtendedStreamReader reader , ModelNode node ) throws XMLStreamException { } private void parseStoreProperty ( XMLExtendedStreamReader reader , ModelNode node ) throws XMLStreamException { } }

Fix:
container . get ( ALIASES ) . add ( reader . getElementText ( ) ) ;