Buggy code:
public class VersionHandler implements CommandHandler { public static final VersionHandler INSTANCE = new VersionHandler ( ) ; @ Override public boolean isAvailable ( CommandContext ctx ) { } @ Override public boolean isBatchMode ( ) { } @ Override public void handle ( CommandContext ctx ) { final StringBuilder buf = new StringBuilder ( ) ; buf . append ( "JBoss<seq2seq4repair_space>Admin<seq2seq4repair_space>Command-line<seq2seq4repair_space>Interface\n" ) ; buf . append ( "JBOSS_HOME:<seq2seq4repair_space>" ) . append ( SecurityActions . getEnvironmentVariable ( "JBOSS_HOME" ) ) . append ( '\n' ) ; buf . append ( "JBoss<seq2seq4repair_space>AS<seq2seq4repair_space>release:<seq2seq4repair_space>" ) ; final ModelControllerClient client = ctx . getModelControllerClient ( ) ; if ( client == null ) { buf . append ( "<connect<seq2seq4repair_space>to<seq2seq4repair_space>the<seq2seq4repair_space>controller<seq2seq4repair_space>and<seq2seq4repair_space>re-run<seq2seq4repair_space>the<seq2seq4repair_space>version<seq2seq4repair_space>command<seq2seq4repair_space>to<seq2seq4repair_space>see<seq2seq4repair_space>the<seq2seq4repair_space>release<seq2seq4repair_space>info>\n" ) ; } else { final ModelNode req = new ModelNode ( ) ; req . get ( OPERATION ) . set ( READ_RESOURCE ) ; req . get ( ADDRESS ) . setEmptyList ( ) ; try { final ModelNode response = client . execute ( req ) ; if ( Util . isSuccess ( response ) ) { if ( response . hasDefined ( RESULT ) ) { final ModelNode result = response . get ( RESULT ) ; byte flag = 0 ; if ( result . hasDefined ( "release-version" ) ) { buf . append ( result . get ( "release-version" ) . asString ( ) ) ; ++ flag ; } if ( result . hasDefined ( "release-codename" ) ) { buf . append ( "<seq2seq4repair_space>\"" ) . append ( result . get ( "release-codename" ) . asString ( ) ) . append ( '\"' ) ; ++ flag ; } if ( flag == 0 ) { buf . append ( "release<seq2seq4repair_space>info<seq2seq4repair_space>was<seq2seq4repair_space>not<seq2seq4repair_space>provided<seq2seq4repair_space>by<seq2seq4repair_space>the<seq2seq4repair_space>controller" ) ; } } else { buf . append ( "result<seq2seq4repair_space>was<seq2seq4repair_space>not<seq2seq4repair_space>available." ) ; } } else { buf . append ( Util . getFailureDescription ( response ) ) ; } buf . append ( '\n' ) ; } catch ( IOException e ) { <START_BUG> ctx . printLine ( ( "Failed<seq2seq4repair_space>to<seq2seq4repair_space>get<seq2seq4repair_space>the<seq2seq4repair_space>AS<seq2seq4repair_space>release<seq2seq4repair_space>info:<seq2seq4repair_space>" + ( e . getLocalizedMessage ( ) ) ) ) ; <END_BUG> e . printStackTrace ( ) ; } } buf . append ( "JAVA_HOME:<seq2seq4repair_space>" ) . append ( SecurityActions . getEnvironmentVariable ( "JAVA_HOME" ) ) . append ( '\n' ) ; buf . append ( "java.version:<seq2seq4repair_space>" ) . append ( SecurityActions . getSystemProperty ( "java.version" ) ) . append ( '\n' ) ; buf . append ( "java.vm.vendor:<seq2seq4repair_space>" ) . append ( SecurityActions . getSystemProperty ( "java.vm.vendor" ) ) . append ( '\n' ) ; buf . append ( "java.vm.version:<seq2seq4repair_space>" ) . append ( SecurityActions . getSystemProperty ( "java.vm.version" ) ) . append ( '\n' ) ; buf . append ( "os.name:<seq2seq4repair_space>" ) . append ( SecurityActions . getSystemProperty ( "os.name" ) ) . append ( '\n' ) ; buf . append ( "os.version:<seq2seq4repair_space>" ) . append ( SecurityActions . getSystemProperty ( "os.version" ) ) ; ctx . printLine ( buf . toString ( ) ) ; } @ Override public boolean hasArgument ( String name ) { } @ Override public boolean hasArgument ( int index ) { } @ Override public List < CommandArgument > getArguments ( CommandContext ctx ) { } }

Fix:
ctx . error ( ( "Failed<seq2seq4repair_space>to<seq2seq4repair_space>get<seq2seq4repair_space>the<seq2seq4repair_space>AS<seq2seq4repair_space>release<seq2seq4repair_space>info:<seq2seq4repair_space>" + ( e . getLocalizedMessage ( ) ) ) ) ;