Buggy code:
public class JacORBSubsystemParser implements XMLStreamConstants , XMLElementReader < List < ModelNode > > , XMLElementWriter < SubsystemMarshallingContext > { static final JacORBSubsystemParser INSTANCE = new JacORBSubsystemParser ( ) ; private JacORBSubsystemParser ( ) { } @ Override public void readElement ( XMLExtendedStreamReader reader , List < ModelNode > nodes ) throws XMLStreamException { } private void readElement_1_0 ( XMLExtendedStreamReader reader , ModelNode node ) throws XMLStreamException { } private void readElement_1_1 ( XMLExtendedStreamReader reader , ModelNode node ) throws XMLStreamException { } private void parseORBConfig_1_0 ( XMLExtendedStreamReader reader , ModelNode node ) throws XMLStreamException { } private void parseORBConfig_1_1 ( XMLExtendedStreamReader reader , ModelNode node ) throws XMLStreamException { } private void parseORBConnectionConfig ( XMLExtendedStreamReader reader , ModelNode node ) throws XMLStreamException { } private void parseORBInitializersConfig_1_0 ( XMLExtendedStreamReader reader , ModelNode node ) throws XMLStreamException { } private void parseORBInitializersConfig_1_1 ( XMLExtendedStreamReader reader , ModelNode node ) throws XMLStreamException { } private void parsePOAConfig ( XMLExtendedStreamReader reader , ModelNode node ) throws XMLStreamException { } private void parseNamingConfig ( XMLExtendedStreamReader reader , ModelNode node ) throws XMLStreamException { } private void parseInteropConfig ( XMLExtendedStreamReader reader , ModelNode node ) throws XMLStreamException { } private void parseSecurityConfig_1_0 ( XMLExtendedStreamReader reader , ModelNode node ) throws XMLStreamException { EnumSet < JacORBSubsystemParser . Attribute > expectedAttributes = EnumSet . of ( JacORBSubsystemParser . Attribute . SECURITY_SUPPORT_SSL , JacORBSubsystemParser . Attribute . SECURITY_ADD_COMPONENT_INTERCEPTOR , JacORBSubsystemParser . Attribute . SECURITY_CLIENT_SUPPORTS , JacORBSubsystemParser . Attribute . SECURITY_CLIENT_REQUIRES , JacORBSubsystemParser . Attribute . SECURITY_SERVER_SUPPORTS , JacORBSubsystemParser . Attribute . SECURITY_SERVER_REQUIRES , JacORBSubsystemParser . Attribute . SECURITY_USE_DOMAIN_SF , JacORBSubsystemParser . Attribute . SECURITY_USE_DOMAIN_SSF ) ; EnumSet < JacORBSubsystemParser . Attribute > parsedAttributes = EnumSet . noneOf ( JacORBSubsystemParser . Attribute . class ) ; for ( int i = 0 ; i < ( reader . getAttributeCount ( ) ) ; i ++ ) { requireNoNamespaceAttribute ( reader , i ) ; String attrValue = reader . getAttributeValue ( i ) ; final JacORBSubsystemParser . Attribute attribute = JacORBSubsystemParser . Attribute . forName ( reader . getAttributeLocalName ( i ) ) ; if ( ! ( expectedAttributes . contains ( attribute ) ) ) throw unexpectedAttribute ( reader , i ) ; if ( ! ( parsedAttributes . add ( attribute ) ) ) { throw duplicateAttribute ( reader , attribute . getLocalName ( ) ) ; } switch ( attribute ) { case SECURITY_CLIENT_SUPPORTS : case SECURITY_CLIENT_REQUIRES : case SECURITY_SERVER_SUPPORTS : case SECURITY_SERVER_REQUIRES : SSLConfigValue value = SSLConfigValue . fromValue ( attrValue ) ; if ( value == null ) throw new XMLStreamException ( "Invalid<seq2seq4repair_space>SSL<seq2seq4repair_space>config<seq2seq4repair_space>option.<seq2seq4repair_space>Should<seq2seq4repair_space>be<seq2seq4repair_space>one<seq2seq4repair_space>of<seq2seq4repair_space>[0,20,40,60]" ) ; <START_BUG> attrValue = value . name ( ) ; <END_BUG> default : SimpleAttributeDefinition definition = ( ( SimpleAttributeDefinition ) ( JacORBSubsystemDefinitions . valueOf ( attribute . getLocalName ( ) ) ) ) ; if ( definition != null ) definition . parseAndSetParameter ( attrValue , node , reader ) ; } } requireNoContent ( reader ) ; } private void parseSecurityConfig_1_1 ( XMLExtendedStreamReader reader , ModelNode node ) throws XMLStreamException { } private void parsePropertiesConfig ( XMLExtendedStreamReader reader , ModelNode node ) throws XMLStreamException { } private void parseGenericProperty_1_0 ( XMLExtendedStreamReader reader , ModelNode node ) throws XMLStreamException { } private void parseGenericProperty_1_1 ( XMLExtendedStreamReader reader , ModelNode node ) throws XMLStreamException { } private void parseAttributes ( XMLExtendedStreamReader reader , ModelNode node , EnumSet < JacORBSubsystemParser . Attribute > expectedAttributes , EnumSet < JacORBSubsystemParser . Attribute > requiredAttributes ) throws XMLStreamException { } @ Override public void writeContent ( XMLExtendedStreamWriter writer , SubsystemMarshallingContext context ) throws XMLStreamException { } private void writeORBConfig ( XMLExtendedStreamWriter writer , ModelNode node ) throws XMLStreamException { } private void writePOAConfig ( XMLExtendedStreamWriter writer , ModelNode node ) throws XMLStreamException { } private void writeNamingConfig ( XMLExtendedStreamWriter writer , ModelNode node ) throws XMLStreamException { } private void writeInteropConfig ( XMLExtendedStreamWriter writer , ModelNode node ) throws XMLStreamException { } private void writeSecurityConfig ( XMLExtendedStreamWriter writer , ModelNode node ) throws XMLStreamException { } private void writeGenericProperties ( XMLExtendedStreamWriter writer , ModelNode node ) throws XMLStreamException { } private void writeAttributes ( XMLExtendedStreamWriter writer , ModelNode node , List < SimpleAttributeDefinition > attributes ) throws XMLStreamException { } private boolean isWritable ( ModelNode node , List < SimpleAttributeDefinition > attributeDefinitions ) { } enum Namespace { UNKNOWN ( null ) , JacORB_1_0 ( "urn:jboss:domain:jacorb:1.0" ) , JacORB_1_1 ( "urn:jboss:domain:jacorb:1.1" ) ; static final JacORBSubsystemParser . Namespace CURRENT = JacORBSubsystemParser . Namespace . JacORB_1_1 ; private final String namespaceURI ; private Namespace ( final String namespaceURI ) { } String getUriString ( ) { } private static final Map < String , JacORBSubsystemParser . Namespace > MAP ; static JacORBSubsystemParser . Namespace forUri ( final String uri ) { } } enum Element { UNKNOWN ( null ) , ORB ( JacORBSubsystemConstants . ORB ) , ORB_CONNECTION ( JacORBSubsystemConstants . ORB_CONN ) , ORB_INITIALIZERS ( JacORBSubsystemConstants . ORB_INIT ) , POA ( JacORBSubsystemConstants . POA ) , POA_REQUEST_PROC ( JacORBSubsystemConstants . POA_RP ) , NAMING ( JacORBSubsystemConstants . NAMING ) , INTEROP ( JacORBSubsystemConstants . INTEROP ) , SECURITY ( JacORBSubsystemConstants . SECURITY ) , PROPERTIES ( JacORBSubsystemConstants . PROPERTIES ) , PROPERTY ( JacORBSubsystemConstants . PROPERTY ) ; private final String name ; Element ( final String name ) { } public String getLocalName ( ) { } private static final Map < String , JacORBSubsystemParser . Element > MAP ; public static JacORBSubsystemParser . Element forName ( String localName ) { } }

Fix:
attrValue = value . toString ( ) ;