Program: 62418
Project: 62418
Buggy source:
@Override public void initParameters(){
  String newClassifierName=(String)paramMap.get("String_Node_Str");
  if (DialogUtils.contains(classifierNameComboBox,newClassifierName)) {
    classifierNameComboBox.setSelectedItem(newClassifierName);
  }
  String numSamples=String.valueOf(paramMap.get("String_Node_Str"));
  numTrainSamples.setText(numSamples);
  Boolean eval=(Boolean)(paramMap.get("String_Node_Str"));
  if (eval != null) {
    evaluateClassifier.setSelected(eval);
  }
  Boolean evalPS=(Boolean)(paramMap.get("String_Node_Str"));
  if (evalPS != null) {
    evaluateFeaturePowerSet.setSelected(evalPS);
  }
  Integer minPS=(Integer)(paramMap.get("String_Node_Str"));
  if (minPS != null) {
    minPowerSetSize.setText(String.valueOf(minPS));
  }
  Integer maxPS=(Integer)(paramMap.get("String_Node_Str"));
  if (maxPS != null) {
    maxPowerSetSize.setText(String.valueOf(maxPS));
  }
  Boolean doQuant=(Boolean)(paramMap.get("String_Node_Str"));
  if (doQuant != null) {
    doClassValQuantization.setSelected(doQuant);
  }
  minClassValue.setText(String.valueOf(paramMap.get("String_Node_Str")));
  classValStepSize.setText(String.valueOf(paramMap.get("String_Node_Str")));
  classLevels.setText(String.valueOf(paramMap.get("String_Node_Str")));
  final Double minVal=(Double)paramMap.get("String_Node_Str");
  final Double stepSize=(Double)paramMap.get("String_Node_Str");
  final Integer levels=(Integer)paramMap.get("String_Node_Str");
  if (minVal != null && stepSize != null && levels != null) {
    final double maxClassVal=BaseClassifier.getMaxValue(minVal,stepSize,levels);
    maxClassValue.setText(String.valueOf(maxClassVal));
  }
  Boolean trainOnRastersVal=(Boolean)paramMap.get("String_Node_Str");
  boolean trainOnRasters=trainOnRastersVal != null && trainOnRastersVal;
  trainOnRasterBtn.setSelected(trainOnRasters);
  String labelSource=(String)paramMap.get("String_Node_Str");
  if (labelSource == null || labelSource.equals(BaseClassifier.VectorNodeNameLabelSource)) {
    labelSourceVectorName.setSelected(true);
  }
  boolean doTraining=true;
  enableTraining(doTraining);
  enableTrainOnRaster(doTraining,trainOnRasters);
  enablePowerSet();
  paramMap.put("String_Node_Str",null);
  OperatorUIUtils.initParamList(featureBandNames,getFeatures());
}

Fixed version (ground truth):
@Override public void initParameters(){
  String newClassifierName=(String)paramMap.get("String_Node_Str");
  if (DialogUtils.contains(classifierNameComboBox,newClassifierName)) {
    classifierNameComboBox.setSelectedItem(newClassifierName);
  }
  String numSamples=String.valueOf(paramMap.get("String_Node_Str"));
  numTrainSamples.setText(numSamples);
  Boolean eval=(Boolean)(paramMap.get("String_Node_Str"));
  if (eval != null) {
    evaluateClassifier.setSelected(eval);
  }
  Boolean evalPS=(Boolean)(paramMap.get("String_Node_Str"));
  if (evalPS != null) {
    evaluateFeaturePowerSet.setSelected(evalPS);
  }
  Integer minPS=(Integer)(paramMap.get("String_Node_Str"));
  if (minPS != null) {
    minPowerSetSize.setText(String.valueOf(minPS));
  }
  Integer maxPS=(Integer)(paramMap.get("String_Node_Str"));
  if (maxPS != null) {
    maxPowerSetSize.setText(String.valueOf(maxPS));
  }
  Boolean doQuant=(Boolean)(paramMap.get("String_Node_Str"));
  if (doQuant != null) {
    doClassValQuantization.setSelected(doQuant);
  }
  minClassValue.setText(String.valueOf(paramMap.get("String_Node_Str")));
  classValStepSize.setText(String.valueOf(paramMap.get("String_Node_Str")));
  classLevels.setText(String.valueOf(paramMap.get("String_Node_Str")));
  final Double minVal=(Double)paramMap.get("String_Node_Str");
  final Double stepSize=(Double)paramMap.get("String_Node_Str");
  final Integer levels=(Integer)paramMap.get("String_Node_Str");
  if (minVal != null && stepSize != null && levels != null) {
    final double maxClassVal=BaseClassifier.getMaxValue(minVal,stepSize,levels);
    maxClassValue.setText(String.valueOf(maxClassVal));
  }
  Boolean trainOnRastersVal=(Boolean)paramMap.get("String_Node_Str");
  boolean trainOnRasters=trainOnRastersVal != null && trainOnRastersVal;
  trainOnRasterBtn.setSelected(trainOnRasters);
  String labelSource=(String)paramMap.get("String_Node_Str");
  if (labelSource == null || labelSource.equals(BaseClassifier.VectorNodeNameLabelSource)) {
    labelSourceVectorName.setSelected(true);
  }
  Boolean doLoadClassifierVal=(Boolean)paramMap.get("String_Node_Str");
  boolean doTraining=doLoadClassifierVal != null && !doLoadClassifierVal;
  enableTraining(doTraining);
  enableTrainOnRaster(doTraining,trainOnRasters);
  enablePowerSet();
  paramMap.put("String_Node_Str",null);
  OperatorUIUtils.initParamList(featureBandNames,getFeatures());
}