Buggy code:
public class DefaultCallbackHandler extends ValidatingCallbackHandler implements ParsedCommandLine { private static final int SEPARATOR_NONE = 0 ; private static final int SEPARATOR_NODE_TYPE_NAME = 1 ; private static final int SEPARATOR_NODE = 2 ; private static final int SEPARATOR_ADDRESS_OPERATION = 3 ; private static final int SEPARATOR_OPERATION_ARGUMENTS = 4 ; private static final int SEPARATOR_ARG_NAME_VALUE = 5 ; private static final int SEPARATOR_ARG = 6 ; private static final int SEPARATOR_ARG_LIST_END = 7 ; private static final int SEPARATOR_HEADERS_START = 8 ; private static final int SEPARATOR_HEADER = 9 ; private static final DefaultOperationRequestAddress EMPTY_ADDRESS = new DefaultOperationRequestAddress ( ) ; private int separator = DefaultCallbackHandler . SEPARATOR_NONE ; private int lastSeparatorIndex = - 1 ; private int lastChunkIndex = 0 ; private boolean operationComplete ; private String operationName ; private OperationRequestAddress address ; private Map < String , String > props = new HashMap < String , String > ( ) ; private List < String > otherArgs = new ArrayList < String > ( ) ; private String outputTarget ; private String lastPropName ; private String lastPropValue ; private String lastHeaderName ; private CommandLineFormat format ; private boolean validation ; private String originalLine ; private LinkedHashMap < String , ParsedOperationRequestHeader > headers ; private ParsedOperationRequestHeader lastHeader ; public DefaultCallbackHandler ( ) { } public DefaultCallbackHandler ( boolean validate ) { } public DefaultCallbackHandler ( OperationRequestAddress prefix ) { } public void parse ( OperationRequestAddress initialAddress , String argsStr ) throws CommandFormatException { reset ( ) ; if ( initialAddress != null ) { address = new DefaultOperationRequestAddress ( initialAddress ) ; } this . originalLine = argsStr ; <START_BUG> ParserUtil . parse ( argsStr , this ) ; <END_BUG> } public void parse ( OperationRequestAddress initialAddress , String argsStr , boolean validation ) throws CommandFormatException { } public void parseOperation ( OperationRequestAddress prefix , String argsStr ) throws CommandFormatException { } public void parseHeaders ( String argsStr ) throws CommandFormatException { } public void reset ( ) { } @ Override public String getOriginalLine ( ) { } public List < String > getOtherProperties ( ) { } @ Override public boolean isRequestComplete ( ) { } @ Override public boolean endsOnPropertySeparator ( ) { } @ Override public boolean endsOnPropertyValueSeparator ( ) { } @ Override public boolean endsOnPropertyListStart ( ) { } @ Override public boolean endsOnPropertyListEnd ( ) { } @ Override public boolean endsOnHeaderListStart ( ) { } @ Override public boolean endsOnAddressOperationNameSeparator ( ) { } @ Override public boolean endsOnNodeSeparator ( ) { } @ Override public boolean endsOnNodeTypeNameSeparator ( ) { } @ Override public boolean endsOnSeparator ( ) { } @ Override public boolean hasAddress ( ) { } @ Override public OperationRequestAddress getAddress ( ) { } @ Override public boolean hasOperationName ( ) { } @ Override public String getOperationName ( ) { } @ Override public boolean hasProperties ( ) { } @ Override public boolean hasProperty ( String propertyName ) { } @ Override public void validatedNodeType ( int index , String nodeType ) throws OperationFormatException { } @ Override public void nodeTypeNameSeparator ( int index ) { } @ Override public void validatedNodeName ( int index , String nodeName ) throws OperationFormatException { } @ Override public void nodeSeparator ( int index ) { } @ Override public void addressOperationSeparator ( int index ) { } @ Override public void operationName ( int index , String operationName ) throws OperationFormatException { } public void validatedOperationName ( int index , String operationName ) throws OperationFormatException { } @ Override public void propertyListStart ( int index ) { } @ Override public void propertyName ( int index , String propertyName ) throws OperationFormatException { } @ Override protected void validatedPropertyName ( int index , String propertyName ) throws OperationFormatException { } @ Override public void propertyNameValueSeparator ( int index ) { } @ Override public void property ( String name , String value , int nameValueSeparatorIndex ) throws OperationFormatException { } @ Override protected void validatedProperty ( String name , String value , int nameValueSeparatorIndex ) throws OperationFormatException { } @ Override public void propertySeparator ( int index ) { } @ Override public void propertyListEnd ( int index ) { } @ Override public void headerListStart ( int index ) { } @ Override public void headerListEnd ( int index ) { } public void headerSeparator ( int index ) { } public void headerNameValueSeparator ( int index ) { } @ Override public ParsingStateCallbackHandler headerName ( int index , String headerName ) throws CommandFormatException { } @ Override public void header ( String name , String value , int valueIndex ) throws CommandFormatException { } public void header ( ParsedOperationRequestHeader header ) { } @ Override public boolean hasHeaders ( ) { } @ Override public boolean hasHeader ( String name ) { } @ Override public String getLastHeaderName ( ) { } @ Override public Collection < ParsedOperationRequestHeader > getHeaders ( ) { } @ Override public ParsedOperationRequestHeader getLastHeader ( ) { } @ Override public void rootNode ( int index ) { } @ Override public void parentNode ( int index ) { } @ Override public void nodeType ( int index ) { } @ Override public void nodeTypeOrName ( int index , String typeOrName ) throws OperationFormatException { } @ Override public Set < String > getPropertyNames ( ) { } @ Override public String getPropertyValue ( String name ) { } @ Override public int getLastSeparatorIndex ( ) { } @ Override public int getLastChunkIndex ( ) { } @ Override public void outputTarget ( int index , String outputTarget ) { } public String getOutputTarget ( ) { } @ Override public String getLastParsedPropertyName ( ) { } @ Override public String getLastParsedPropertyValue ( ) { } public ModelNode toOperationRequest ( CommandContext ctx ) throws CommandFormatException { } @ Override public void setFormat ( CommandLineFormat format ) { } @ Override public CommandLineFormat getFormat ( ) { }

Fix:
ParserUtil . parse ( argsStr , this , validation ) ;