Buggy code:
private final char [ ] password ; private final boolean disableLocalAuth ; private final int connectionTimeout ; private SSLContext sslContext ; private CommandContextImpl . LazyDelagatingTrustManager trustManager ; private Map < String , Object > map = new HashMap < String , Object > ( ) ; private final OperationRequestAddress prefix = new DefaultOperationRequestAddress ( ) ; private final NodePathFormatter prefixFormatter = new DefaultPrefixFormatter ( ) ; private final OperationCandidatesProvider operationCandidatesProvider ; private final OperationRequestHandler operationHandler ; private BatchManager batchManager = new DefaultBatchManager ( ) ; private final CommandCompleter cmdCompleter ; private BufferedWriter outputTarget ; private List < CliEventListener > listeners = new ArrayList < CliEventListener > ( ) ; private int exitCode ; private File currentDir = new File ( "" ) ; private boolean resolveParameterValues ; private boolean silent ; CommandContextImpl ( ) throws CliInitializationException { } CommandContextImpl ( String username , char [ ] password , boolean disableLocalAuth ) throws CliInitializationException { } CommandContextImpl ( String defaultControllerProtocol , String defaultControllerHost , int defaultControllerPort , String username , char [ ] password , boolean disableLocalAuth , boolean initConsole , final int connectionTimeout ) throws CliInitializationException { } CommandContextImpl ( String defaultControllerHost , int defaultControllerPort , String username , char [ ] password , boolean disableLocalAuth , InputStream consoleInput , OutputStream consoleOutput ) throws CliInitializationException { } protected void initBasicConsole ( InputStream consoleInput , OutputStream consoleOutput ) throws CliInitializationException { } private void copyConfigSettingsToConsole ( InputStream consoleInput , OutputStream consoleOutput ) { } private void initCommands ( ) { } private void registerExtraHandlers ( ) { } public int getExitCode ( ) { } private void initSSLContext ( ) throws CliInitializationException { } @ Override public boolean isTerminated ( ) { } private StringBuilder lineBuffer ; @ Override public void handle ( String line ) throws CommandLineException { } public void handleSafe ( String line ) { } @ Override public String getArgumentsString ( ) { } @ Override public void terminateSession ( ) { } @ Override public void printLine ( String message ) { } protected void error ( String message ) { } private String readLine ( String prompt , boolean password , boolean disableHistory ) throws CommandLineException { } @ Override public void printColumns ( Collection < String > col ) { } @ Override public void set ( String key , Object value ) { } @ Override public Object get ( String key ) { } @ Override public Object remove ( String key ) { } @ Override public ModelControllerClient getModelControllerClient ( ) { } @ Override public CommandLineParser getCommandLineParser ( ) { } @ Override public OperationRequestAddress getCurrentNodePath ( ) { } @ Override public NodePathFormatter getNodePathFormatter ( ) { } @ Override public OperationCandidatesProvider getOperationCandidatesProvider ( ) { } @ Override public void connectController ( ) throws CommandLineException { } @ Override public void connectController ( String protocol , String host , int port ) throws CommandLineException { if ( host == null ) { host = defaultControllerHost ; } if ( port < 0 ) { port = defaultControllerPort ; } if ( protocol == null ) { protocol = defaultControllerProtocol ; } boolean retry ; do { retry = false ; try { ModelControllerClient newClient = null ; CallbackHandler cbh = new CommandContextImpl . AuthenticationCallbackHandler ( username , password ) ; if ( CommandContextImpl . log . isDebugEnabled ( ) ) { CommandContextImpl . log . debug ( ( ( ( ( ( "connecting<seq2seq4repair_space>to<seq2seq4repair_space>" + host ) + ':' ) + port ) + "<seq2seq4repair_space>as<seq2seq4repair_space>" ) + ( username ) ) ) ; } ModelControllerClient tempClient = CUSTOM . getClient ( protocol , host , port , cbh , disableLocalAuth , sslContext , connectionTimeout , this ) ; retry = tryConnection ( tempClient , host , port ) ; if ( ! retry ) { newClient = tempClient ; } initNewClient ( newClient , host , port ) ; } catch ( IOException e ) { <START_BUG> throw new CommandLineException ( ( ( ( "Failed<seq2seq4repair_space>to<seq2seq4repair_space>resolve<seq2seq4repair_space>host<seq2seq4repair_space>'" + host ) + "':<seq2seq4repair_space>" ) + ( e . getLocalizedMessage ( ) ) ) ) ; <END_BUG> } } while ( retry ) ; } @ Override public void bindClient ( ModelControllerClient newClient ) { } private void initNewClient ( ModelControllerClient newClient , String host , int port ) { } @ Override public File getCurrentDir ( ) { } @ Override public void setCurrentDir ( File dir ) { } private boolean handleSSLFailure ( ) throws CommandLineException { } private static final String [ ] FINGERPRINT_ALGORITHMS = new String [ ] { "MD5" , "SHA1" } ; private Map < String , String > generateFingerprints ( final X509Certificate cert ) throws CommandLineException { } private String generateFingerPrint ( final String algorithm , final byte [ ] cert ) throws GeneralSecurityException { } private boolean tryConnection ( final ModelControllerClient client , String host , int port ) throws CommandLineException { } @ Override public void disconnectController ( ) { } @ Override public String getControllerHost ( ) { } @ Override public int getControllerPort ( ) { } @ Override public void clearScreen ( ) { } String promptConnectPart ; String getPrompt ( ) { } @ Override public CommandHistory getHistory ( ) { } @ Override public String getDefaultControllerHost ( ) { } @ Override public int getDefaultControllerPort ( ) { } private void resetArgs ( String cmdLine ) throws CommandFormatException { } @ Override public boolean isBatchMode ( ) { } @ Override public BatchManager getBatchManager ( ) { } @ Override public BatchedCommand toBatchedCommand ( String line ) throws CommandFormatException { } @ Override public ModelNode buildRequest ( String line ) throws CommandFormatException { } protected ModelNode buildRequest ( String line , boolean batchMode ) throws CommandFormatException { } @ Override public CommandLineCompleter getDefaultCommandCompleter ( ) { } @ Override public ParsedCommandLine getParsedCommandLine ( ) { } @ Override public boolean isDomainMode ( ) { } @ Override public void addEventListener ( CliEventListener listener ) { }

Fix:
throw new CommandLineException ( ( ( "Failed<seq2seq4repair_space>to<seq2seq4repair_space>resolve<seq2seq4repair_space>host<seq2seq4repair_space>'" + host ) + "'" ) , e ) ;