Program: 45634
Project: 45634
Buggy source:
/** 
 * @{inheritDoc }
 */
public void apply(){
  CellServerState state=editor.getCellServerState();
  AudioTreatmentComponentServerState compState=(AudioTreatmentComponentServerState)state.getComponentServerState(AudioTreatmentComponentServerState.class);
  if (state == null) {
    return;
  }
  compState.setGroupId(audioGroupIdTextField.getText().trim());
  String treatments=treatmentTextField.getText().trim();
  compState.setTreatmentType(treatmentType);
  compState.setTreatments(treatments.split("String_Node_Str"));
  compState.setPlayWhen(playWhen);
  compState.setPlayOnce(playOnce);
  compState.setExtent((Float)extentRadiusModel.getValue());
  compState.setUseCellBounds(useCellBounds);
  compState.setFullVolumeAreaPercent((Float)fullVolumeAreaPercentModel.getValue());
  compState.setDistanceAttenuated(distanceAttenuated);
  compState.setFalloff(falloffSlider.getValue());
  editor.addToUpdateList(compState);
  if (currentCell != null && currentCell.getCellID().equals(editor.getCell().getCellID()) == false) {
    statusLabel.setText("String_Node_Str");
  }
  if (treatments != null) {
switch (treatmentType) {
case FILE:
      lastFileTreatment=treatments;
    uploadFileTreatments();
  break;
case CONTENT_REPOSITORY:
lastContentRepositoryTreatment=treatmentTextField.getText();
break;
case URL:
lastURLTreatment=treatmentTextField.getText();
break;
}
}
}

Fixed version (ground truth):
/** 
 * @{inheritDoc }
 */
public void apply(){
  CellServerState state=editor.getCellServerState();
  AudioTreatmentComponentServerState compState=(AudioTreatmentComponentServerState)state.getComponentServerState(AudioTreatmentComponentServerState.class);
  if (state == null) {
    return;
  }
  compState.setGroupId(audioGroupIdTextField.getText().trim());
  String treatments=treatmentTextField.getText().trim();
  compState.setTreatmentType(treatmentType);
  compState.setTreatments(treatments.split("String_Node_Str"));
  compState.setPlayWhen(playWhen);
  compState.setPlayOnce(playOnce);
  compState.setExtent((Float)extentRadiusModel.getValue());
  compState.setUseCellBounds(useCellBounds);
  compState.setFullVolumeAreaPercent((Float)fullVolumeAreaPercentModel.getValue());
  compState.setDistanceAttenuated(distanceAttenuated);
  compState.setFalloff(falloffSlider.getValue());
  editor.addToUpdateList(compState);
  if (currentCell != null && currentCell.getCellID().equals(editor.getCell().getCellID()) == false) {
    statusLabel.setText("String_Node_Str");
  }
  if (treatments != null && treatments.length() > 0) {
switch (treatmentType) {
case FILE:
      lastFileTreatment=treatments;
    try {
      statusLabel.setText("String_Node_Str" + treatments);
      uploadFileTreatments();
    }
 catch (    Exception e) {
      statusLabel.setText("String_Node_Str" + treatments);
      break;
    }
  ServerSessionManager serverSessionManager=LoginManager.getPrimary();
contentRepositoryRadioButton.doClick();
compState.setTreatmentType(TreatmentType.CONTENT_REPOSITORY);
int ix=treatments.lastIndexOf("String_Node_Str");
if (ix >= 0) {
treatments=treatments.substring(ix + 1);
}
String contentRepositoryTreatment="String_Node_Str" + serverSessionManager.getUsername() + "String_Node_Str"+ treatments;
compState.setTreatments(new String[]{contentRepositoryTreatment});
treatmentTextField.setText(contentRepositoryTreatment);
lastContentRepositoryTreatment=treatmentTextField.getText();
break;
case CONTENT_REPOSITORY:
lastContentRepositoryTreatment=treatmentTextField.getText();
break;
case URL:
lastURLTreatment=treatmentTextField.getText();
break;
}
}
}