Buggy code:
static void parseDeployments ( final XMLExtendedStreamReader reader , final List < ? super AbstractDomainModelUpdate < ? > > list , final String serverGroupName ) throws XMLStreamException { } static void parseServerDeployments ( final XMLExtendedStreamReader reader , final List < ? super AbstractServerModelUpdate < ? > > list ) throws XMLStreamException { ParseUtils . requireNoAttributes ( reader ) ; final Set < String > names = new HashSet < String > ( ) ; while ( ( reader . nextTag ( ) ) != ( XMLStreamConstants . END_ELEMENT ) ) { String uniqueName = null ; String runtimeName = null ; byte [ ] hash = null ; String startInput = null ; final int count = reader . getAttributeCount ( ) ; for ( int i = 0 ; i < count ; i ++ ) { final String value = reader . getAttributeValue ( i ) ; if ( ( reader . getAttributeNamespace ( i ) ) != null ) { throw ParseUtils . unexpectedAttribute ( reader , i ) ; } else { final Attribute attribute = Attribute . forName ( reader . getAttributeLocalName ( i ) ) ; switch ( attribute ) { case NAME : { if ( ! ( names . add ( value ) ) ) { throw ParseUtils . duplicateNamedElement ( reader , value ) ; } uniqueName = value ; break ; } case RUNTIME_NAME : { runtimeName = value ; break ; } case SHA1 : { try { hash = ParseUtils . hexStringToByteArray ( value ) ; } catch ( Exception e ) { throw new XMLStreamException ( ( ( ( ( "Value<seq2seq4repair_space>" + value ) + "<seq2seq4repair_space>for<seq2seq4repair_space>attribute<seq2seq4repair_space>" ) + ( attribute . getLocalName ( ) ) ) + "<seq2seq4repair_space>does<seq2seq4repair_space>not<seq2seq4repair_space>represent<seq2seq4repair_space>a<seq2seq4repair_space>properly<seq2seq4repair_space>hex-encoded<seq2seq4repair_space>SHA1<seq2seq4repair_space>hash" ) , reader . getLocation ( ) , e ) ; } break ; } case ALLOWED : { if ( ! ( Boolean . parseBoolean ( value ) ) ) { throw new XMLStreamException ( ( ( "Attribute<seq2seq4repair_space>'" + ( attribute . getLocalName ( ) ) ) + "'<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>allowed" ) , reader . getLocation ( ) ) ; } break ; } case START : { startInput = value ; break ; } default : throw ParseUtils . unexpectedAttribute ( reader , i ) ; } } } if ( uniqueName == null ) { throw ParseUtils . missingRequired ( reader , Collections . singleton ( NAME ) ) ; } if ( runtimeName == null ) { throw ParseUtils . missingRequired ( reader , Collections . singleton ( RUNTIME_NAME ) ) ; } if ( hash == null ) { throw ParseUtils . missingRequired ( reader , Collections . singleton ( SHA1 ) ) ; } boolean toStart = ( startInput == null ) ? true : Boolean . parseBoolean ( startInput ) ; ParseUtils . requireNoContent ( reader ) ; list . add ( new ServerModelDeploymentAdd ( uniqueName , runtimeName , hash ) ) ; <START_BUG> list . add ( new ServerModelDeploymentStartUpdate ( uniqueName , runtimeName , hash ) ) ; <END_BUG> } } static void parseServerGroups ( final XMLExtendedStreamReader reader , final List < ? super AbstractDomainModelUpdate < ? > > list ) throws XMLStreamException { } static void parseDomainSystemProperties ( final XMLExtendedStreamReader reader , final List < ? super AbstractDomainModelUpdate < ? > > list ) throws XMLStreamException { } static void parseHostSystemProperties ( final XMLExtendedStreamReader reader , final List < ? super AbstractHostModelUpdate < ? > > list ) throws XMLStreamException { } static void parseServerModelSystemProperties ( final XMLExtendedStreamReader reader , final List < ? super AbstractServerModelUpdate < ? > > list ) throws XMLStreamException { } static Collection < PropertyAdd > parseProperties ( final XMLExtendedStreamReader reader , final Element propertyType , final boolean allowNullValue ) throws XMLStreamException { } static void parseJvms ( final XMLExtendedStreamReader reader , final List < ? super AbstractHostModelUpdate < ? > > list ) throws XMLStreamException { } static ModelXmlParsers . NamedModelUpdates < JvmElement > parseJvm ( final XMLExtendedStreamReader reader ) throws XMLStreamException { } static ModelXmlParsers . NamedModelUpdates < JvmElement > parseJvm ( final XMLExtendedStreamReader reader , Set < String > jvmNames ) throws XMLStreamException { } static List < AbstractModelUpdate < JvmElement , ? > > parseHeap ( XMLExtendedStreamReader reader ) throws XMLStreamException { } static List < AbstractModelUpdate < JvmElement , ? > > parsePermgen ( XMLExtendedStreamReader reader ) throws XMLStreamException { } static List < AbstractModelUpdate < JvmElement , ? > > parseStack ( XMLExtendedStreamReader reader ) throws XMLStreamException { } static List < AbstractModelUpdate < JvmElement , ? > > parseAgentLib ( XMLExtendedStreamReader reader ) throws XMLStreamException { } static List < AbstractModelUpdate < JvmElement , ? > > parseAgentPath ( XMLExtendedStreamReader reader ) throws XMLStreamException { } static List < AbstractModelUpdate < JvmElement , ? > > parseJavaagent ( XMLExtendedStreamReader reader ) throws XMLStreamException { } static Collection < JvmOptionAdd > parseJvmOptions ( final XMLExtendedStreamReader reader ) throws XMLStreamException { } static ModelXmlParsers . NameOffset parseSocketBindingGroupRef ( final XMLExtendedStreamReader reader ) throws XMLStreamException { } static void parseManagement ( final XMLExtendedStreamReader reader , final List < ? super AbstractHostModelUpdate < ? > > list ) throws XMLStreamException { } static void parseServerManagement ( final XMLExtendedStreamReader reader , final List < ? super AbstractServerModelUpdate < ? > > list ) throws XMLStreamException { } static void parseDomainController ( final XMLExtendedStreamReader reader , final List < ? super AbstractHostModelUpdate < ? > > list ) throws XMLStreamException { } static void parseRemoteDomainController ( XMLExtendedStreamReader reader , List < ? super AbstractHostModelUpdate < ? > > list ) throws XMLStreamException { } static void parseServers ( final XMLExtendedStreamReader reader , final List < ? super AbstractHostModelUpdate < ? > > list ) throws XMLStreamException { } static void parseServer ( final XMLExtendedStreamReader reader , final List < ? super AbstractHostModelUpdate < ? > > list , Set < String > serverNames ) throws XMLStreamException { }

Fix:
list . add ( new ServerModelDeploymentStartUpdate ( uniqueName ) ) ;