Program: 29599
Project: 29599
Buggy source:
private static AudioFeature createAudioFeature(JSONObject audioFeatureJson){
  if (audioFeatureJson == null || audioFeatureJson.isNullObject()) {
    return null;
  }
  AudioFeature audioFeature=new AudioFeature();
  audioFeature.setDanceability(audioFeatureJson.getDouble("String_Node_Str"));
  audioFeature.setEnergy(audioFeatureJson.getDouble("String_Node_Str"));
  audioFeature.setKey(audioFeatureJson.getInt("String_Node_Str"));
  audioFeature.setLoudness(audioFeatureJson.getDouble("String_Node_Str"));
  audioFeature.setMode(audioFeatureJson.getInt("String_Node_Str"));
  audioFeature.setSpeechiness(audioFeatureJson.getDouble("String_Node_Str"));
  audioFeature.setAcousticness(audioFeatureJson.getDouble("String_Node_Str"));
  audioFeature.setInstrumentalness(audioFeatureJson.getDouble("String_Node_Str"));
  audioFeature.setLiveness(audioFeatureJson.getDouble("String_Node_Str"));
  audioFeature.setValence(audioFeatureJson.getDouble("String_Node_Str"));
  audioFeature.setTempo(audioFeatureJson.getDouble("String_Node_Str"));
  audioFeature.setType(audioFeatureJson.getString("String_Node_Str"));
  audioFeature.setId(audioFeatureJson.getString("String_Node_Str"));
  audioFeature.setUri(audioFeatureJson.getString("String_Node_Str"));
  audioFeature.setTrackHref(audioFeatureJson.getString("String_Node_Str"));
  audioFeature.setAnalysisUrl(audioFeatureJson.getString("String_Node_Str"));
  audioFeature.setDurationMs(audioFeatureJson.getInt("String_Node_Str"));
  audioFeature.setTimeSignature(audioFeatureJson.getInt("String_Node_Str"));
  return audioFeature;
}

Fixed version (ground truth):
private static AudioFeature createAudioFeature(JSONObject audioFeatureJson){
  if (audioFeatureJson == null || audioFeatureJson.isNullObject()) {
    return null;
  }
  AudioFeature audioFeature=new AudioFeature();
  audioFeature.setDanceability(audioFeatureJson.getDouble("String_Node_Str"));
  audioFeature.setEnergy(audioFeatureJson.getDouble("String_Node_Str"));
  audioFeature.setKey(audioFeatureJson.getInt("String_Node_Str"));
  audioFeature.setLoudness(audioFeatureJson.getDouble("String_Node_Str"));
  audioFeature.setMode(Modality.valueOf(audioFeatureJson.getString("String_Node_Str")));
  audioFeature.setSpeechiness(audioFeatureJson.getDouble("String_Node_Str"));
  audioFeature.setAcousticness(audioFeatureJson.getDouble("String_Node_Str"));
  audioFeature.setInstrumentalness(audioFeatureJson.getDouble("String_Node_Str"));
  audioFeature.setLiveness(audioFeatureJson.getDouble("String_Node_Str"));
  audioFeature.setValence(audioFeatureJson.getDouble("String_Node_Str"));
  audioFeature.setTempo(audioFeatureJson.getDouble("String_Node_Str"));
  audioFeature.setType(ObjectType.valueOf(audioFeatureJson.getString("String_Node_Str")));
  audioFeature.setId(audioFeatureJson.getString("String_Node_Str"));
  audioFeature.setUri(audioFeatureJson.getString("String_Node_Str"));
  audioFeature.setTrackHref(audioFeatureJson.getString("String_Node_Str"));
  audioFeature.setAnalysisUrl(audioFeatureJson.getString("String_Node_Str"));
  audioFeature.setDurationMs(audioFeatureJson.getInt("String_Node_Str"));
  audioFeature.setTimeSignature(audioFeatureJson.getInt("String_Node_Str"));
  return audioFeature;
}