Program: 74952
Project: 74952
Buggy source:
/** 
 * Initialize parameters. Set all parameters to their default values.
 */
private void _initParameters(){
  try {
    _attachText("String_Node_Str","String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str");
    destinationDirectory=new FileParameter(this,"String_Node_Str");
    new Parameter(destinationDirectory,"String_Node_Str",BooleanToken.FALSE);
    new Parameter(destinationDirectory,"String_Node_Str",BooleanToken.TRUE);
    destinationDirectory.setExpression("String_Node_Str");
    confirmOverwrite=new Parameter(this,"String_Node_Str",BooleanToken.FALSE);
    confirmOverwrite.setTypeEquals(BaseType.BOOLEAN);
    tosRoot=new FileParameter(this,"String_Node_Str");
    new Parameter(tosRoot,"String_Node_Str",BooleanToken.FALSE);
    new Parameter(tosRoot,"String_Node_Str",BooleanToken.TRUE);
    String tosRootProperty=StringUtilities.getProperty("String_Node_Str");
    if (tosRootProperty != null) {
      tosRoot.setExpression(tosRootProperty);
    }
 else {
      tosRoot.setExpression("String_Node_Str");
    }
    tosDir=new FileParameter(this,"String_Node_Str");
    new Parameter(tosDir,"String_Node_Str",BooleanToken.FALSE);
    new Parameter(tosDir,"String_Node_Str",BooleanToken.TRUE);
    String tosDirProperty=StringUtilities.getProperty("String_Node_Str");
    if (tosDirProperty != null) {
      tosDir.setExpression(tosDirProperty);
    }
 else {
      tosDir.setExpression("String_Node_Str");
    }
    pflags=new StringParameter(this,"String_Node_Str");
    pflags.setExpression("String_Node_Str");
    numNodes=new Parameter(this,"String_Node_Str",new IntToken(1));
    numNodes.setTypeEquals(BaseType.INT);
    bootTimeRange=new Parameter(this,"String_Node_Str",new IntToken(10));
    bootTimeRange.setTypeEquals(BaseType.INT);
    target=new StringParameter(this,"String_Node_Str");
    target.setExpression("String_Node_Str");
    simulate=new Parameter(this,"String_Node_Str",BooleanToken.TRUE);
    simulate.setTypeEquals(BaseType.BOOLEAN);
    commandPort=new PtinyOSTOSSIMPort(this,"String_Node_Str");
    commandPort.setExpression("String_Node_Str");
    eventPort=new Parameter(this,"String_Node_Str");
    eventPort.setExpression("String_Node_Str");
    timeResolution.setVisibility(Settable.FULL);
    timeResolution.moveToLast();
  }
 catch (  KernelException ex) {
    throw new InternalErrorException(this,ex,"String_Node_Str");
  }
}

Fixed version (ground truth):
/** 
 * Initialize parameters. Set all parameters to their default values.
 */
private void _initParameters(){
  try {
    _attachText("String_Node_Str","String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str");
    destinationDirectory=new FileParameter(this,"String_Node_Str");
    new Parameter(destinationDirectory,"String_Node_Str",BooleanToken.FALSE);
    new Parameter(destinationDirectory,"String_Node_Str",BooleanToken.TRUE);
    destinationDirectory.setExpression("String_Node_Str");
    confirmOverwrite=new Parameter(this,"String_Node_Str",BooleanToken.FALSE);
    confirmOverwrite.setTypeEquals(BaseType.BOOLEAN);
    tosRoot=new FileParameter(this,"String_Node_Str");
    new Parameter(tosRoot,"String_Node_Str",BooleanToken.FALSE);
    new Parameter(tosRoot,"String_Node_Str",BooleanToken.TRUE);
    String tosRootProperty=StringUtilities.getProperty("String_Node_Str");
    if (tosRootProperty != null) {
      tosRoot.setExpression(tosRootProperty);
    }
 else {
      tosRoot.setExpression("String_Node_Str");
    }
    tosDir=new FileParameter(this,"String_Node_Str");
    new Parameter(tosDir,"String_Node_Str",BooleanToken.FALSE);
    new Parameter(tosDir,"String_Node_Str",BooleanToken.TRUE);
    String tosDirProperty=StringUtilities.getProperty("String_Node_Str");
    if (tosDirProperty != null) {
      tosDir.setExpression(tosDirProperty);
    }
 else {
      tosDir.setExpression("String_Node_Str");
    }
    pflags=new StringParameter(this,"String_Node_Str");
    pflags.setExpression("String_Node_Str");
    numNodes=new Parameter(this,"String_Node_Str",new IntToken(1));
    numNodes.setTypeEquals(BaseType.INT);
    numNodes.setVisibility(Settable.NOT_EDITABLE);
    bootTimeRange=new Parameter(this,"String_Node_Str",new IntToken(10));
    bootTimeRange.setTypeEquals(BaseType.INT);
    target=new StringParameter(this,"String_Node_Str");
    target.setExpression("String_Node_Str");
    simulate=new Parameter(this,"String_Node_Str",BooleanToken.TRUE);
    simulate.setTypeEquals(BaseType.BOOLEAN);
    commandPort=new PtinyOSTOSSIMPort(this,"String_Node_Str",2);
    commandPort.setExpression("String_Node_Str");
    eventPort=new Parameter(this,"String_Node_Str");
    eventPort.setExpression("String_Node_Str");
    timeResolution.setVisibility(Settable.FULL);
    timeResolution.moveToLast();
    nodeID=new PtinyOSTOSSIMPort(this,"String_Node_Str",1);
    nodeID.setExpression("String_Node_Str");
  }
 catch (  KernelException ex) {
    throw new InternalErrorException(this,ex,"String_Node_Str");
  }
}