Buggy code:
public class AbstractServerControl { public static final int EXIT_ARGS_PROBLEM = 130 ; public static final int EXIT_ARGS_MISSING = 131 ; public static final int EXIT_ARGS_INVALID = 132 ; public static final int EXIT_INIT_PROBLEM = 140 ; public static final int EXIT_INIT_LOGGING_ERROR = 141 ; public static final int EXIT_INIT_AUTHMETHOD_ERROR = 143 ; public static final int EXIT_INIT_RENGINE_ERROR = 145 ; public static final int EXIT_REGISTRY_PROBLEM = 150 ; public static final int EXIT_REGISTRY_INVALID_ADDRESS = 151 ; public static final int EXIT_REGISTRY_CONNECTING_ERROR = 151 ; public static final int EXIT_REGISTRY_SERVER_STILL_ACTIVE = 152 ; public static final int EXIT_REGISTRY_ALREADY_BOUND = 153 ; public static final int EXIT_REGISTRY_CLEAN_FAILED = 155 ; public static final int EXIT_REGISTRY_BIND_FAILED = 156 ; public static final int EXIT_START_RENGINE_ERROR = 161 ; protected static final Logger LOGGER = Logger . getLogger ( "de.walware.rj.server" ) ; protected static Map < String , String > cliGetArgs ( final String [ ] args , final int first ) { } public static void initVerbose ( ) { } private static boolean VERBOSE ; private static boolean VERBOSE_ON_ERROR ; public static void exit ( final int status ) { } public Remote exportObject ( final Remote obj ) throws RemoteException { } protected final String logPrefix ; private final RMIAddress rmiAddress ; protected final Map < String , String > args ; protected Server mainServer ; private boolean isPublished ; protected AbstractServerControl ( final String name , final Map < String , String > args ) { } public boolean initREngine ( final DefaultServerImpl server ) { } protected Registry getRegistry ( ) throws RemoteException { } public String getName ( ) { } protected void publishServer ( final Server server ) { } protected int unbindDead ( ) { } public void checkCleanup ( ) { } public ServerAuthMethod createServerAuth ( final String config ) throws RjException { final String authType ; final String authConfig ; try { final String [ ] auth = ServerUtil . getArgSubValue ( config ) ; if ( ( auth [ 0 ] . length ( ) ) == 0 ) { throw new RjInvalidConfigurationException ( "Missing<seq2seq4repair_space>'auth'<seq2seq4repair_space>configuration" ) ; } else if ( auth [ 0 ] . equals ( "none" ) ) { authType = "de.walware.rj.server.srvstdext.NoAuthMethod" ; } else if ( auth [ 0 ] . equals ( "name-pass" ) ) { authType = "de.walware.rj.server.srvstdext.SimpleNamePassAuthMethod" ; } else if ( auth [ 0 ] . equals ( "fx" ) ) { authType = "de.walware.rj.server.srvstdext.FxAuthMethod" ; } else if ( auth [ 0 ] . equals ( "local-shaj" ) ) { authType = "de.walware.rj.server.authShaj.LocalShajAuthMethod" ; } else { authType = auth [ 0 ] ; } authConfig = auth [ 1 ] ; } catch ( final Exception e ) { final LogRecord record = new LogRecord ( Level . SEVERE , "{0}<seq2seq4repair_space>init<seq2seq4repair_space>authentication<seq2seq4repair_space>method<seq2seq4repair_space>failed." ) ; record . setParameters ( new Object [ ] { this . logPrefix } ) ; record . setThrown ( e ) ; AbstractServerControl . LOGGER . log ( record ) ; throw new RjInvalidConfigurationException ( "Init<seq2seq4repair_space>authentication<seq2seq4repair_space>method<seq2seq4repair_space>failed." , e ) ; } try { final Class < ServerAuthMethod > authClazz = ( ( Class < ServerAuthMethod > ) ( Class . forName ( authType ) ) ) ; final ServerAuthMethod authMethod = authClazz . newInstance ( ) ; authMethod . init ( authConfig ) ; return authMethod ; } catch ( final Exception e ) { final LogRecord record = new LogRecord ( Level . SEVERE , "{0}<seq2seq4repair_space>init<seq2seq4repair_space>authentication<seq2seq4repair_space>method<seq2seq4repair_space>'{1}'<seq2seq4repair_space>failed." ) ; record . setParameters ( new Object [ ] { this . logPrefix , authType } ) ; record . setThrown ( e ) ; AbstractServerControl . LOGGER . log ( record ) ; <START_BUG> throw new RjException ( MessageFormat . format ( "Init<seq2seq4repair_space>authentication<seq2seq4repair_space>method<seq2seq4repair_space>failed<seq2seq4repair_space>'{0}'." , authType ) , e ) ; <END_BUG> } } }

Fix:
throw new RjException ( MessageFormat . format ( "Init<seq2seq4repair_space>authentication<seq2seq4repair_space>method<seq2seq4repair_space>failed<seq2seq4repair_space>''{0}''." , authType ) , e ) ;