Program: 73331
Project: 73331
Buggy source:
/** 
 * Initialize the server, launch the broker and servlet processes, and wait from simulation requests. The following optional command line switches may be used with their accompanying value: -servlet_path, -servlet_port, -broker_path, and -broker_port. The port numbers must integers, the broker path must be the path to the MQTT broker executable on the local machine, and the servlet path is the virtual directory (including the preceding slash) that the Ptolemy servlet will run at. For example: java -classpath ptserver.PtolemyServer -broker_path /usr/sbin/mosquitto -broker_port 1883
 * @param args  Optional command line arguments.
 * @exception IllegalActionException If the server could not be launched.
 */
public static void main(String[] args) throws IllegalActionException {
  try {
    _instance=new PtolemyServer();
    for (int i=0; i < args.length; i++) {
      if ((args[i].startsWith("String_Node_Str")) && (i + 1 < args.length)) {
        if (args[i].toLowerCase() == "String_Node_Str") {
          _instance._setServletPath(args[i + 1]);
        }
 else         if (args[i].toLowerCase() == "String_Node_Str") {
          _instance._setServletPort(Integer.parseInt(args[i + 1]));
        }
 else         if (args[i].toLowerCase() == "String_Node_Str") {
          _instance._setBrokerPath(args[i + 1]);
        }
 else         if (args[i].toLowerCase() == "String_Node_Str") {
          _instance._setBrokerPort(Integer.parseInt(args[i + 1]));
        }
      }
    }
    _instance.startup();
  }
 catch (  NumberFormatException e) {
    String message="String_Node_Str";
    PtolemyServer.LOGGER.log(Level.SEVERE,message,e);
    throw new IllegalActionException(null,e,message);
  }
catch (  Exception e) {
    String message="String_Node_Str";
    PtolemyServer.LOGGER.log(Level.SEVERE,message,e);
    throw new IllegalActionException(null,e,message);
  }
}

Fixed version (ground truth):
/** 
 * Initialize the server, launch the broker and servlet processes, and wait from simulation requests. The following optional command line switches may be used with their accompanying value: -servlet_path, -servlet_port, -broker_path, and -broker_port. The port numbers must integers, the broker path must be the path to the MQTT broker executable on the local machine, and the servlet path is the virtual directory (including the preceding slash) that the Ptolemy servlet will run at. For example: java -classpath ptserver.PtolemyServer -broker_path /usr/sbin/mosquitto -broker_port 1883
 * @param args  Optional command line arguments.
 * @exception IllegalActionException If the server could not be launched.
 */
public static void main(String[] args) throws IllegalActionException {
  try {
    _instance=new PtolemyServer();
    for (int i=0; i < args.length; i++) {
      if ((args[i].startsWith("String_Node_Str")) && (i + 1 < args.length)) {
        if (args[i].toLowerCase().equals("String_Node_Str")) {
          _instance._setServletPath(args[i + 1]);
        }
 else         if (args[i].toLowerCase().equals("String_Node_Str")) {
          _instance._setServletPort(Integer.parseInt(args[i + 1]));
        }
 else         if (args[i].toLowerCase().equals("String_Node_Str")) {
          _instance._setBrokerPath(args[i + 1]);
        }
 else         if (args[i].toLowerCase().equals("String_Node_Str")) {
          _instance._setBrokerPort(Integer.parseInt(args[i + 1]));
        }
      }
    }
    _instance.startup();
  }
 catch (  NumberFormatException e) {
    String message="String_Node_Str";
    PtolemyServer.LOGGER.log(Level.SEVERE,message,e);
    throw new IllegalActionException(null,e,message);
  }
catch (  Exception e) {
    String message="String_Node_Str";
    PtolemyServer.LOGGER.log(Level.SEVERE,message,e);
    throw new IllegalActionException(null,e,message);
  }
}