Program: 66985
Project: 66985
Buggy source:
/** 
 * Returns the callback content of multiple actions.
 * @param actions
 * @return
 */
private String getMultiActionsCallbackContent(MultipleActions actions){
  StringBuilder sb=new StringBuilder();
  sb.append("String_Node_Str");
  EMap<String,String> propMap=actions.getPropertiesMap();
  sb.append(getPropertiesJS(propMap).toString());
  int i=0;
  for (  Action subAction : MultiActionValuesScriptGenerator.getValidActions(actions)) {
    int typeValue=subAction.getType().getValue();
switch (typeValue) {
case ActionType.URL_REDIRECT:
      sb=MultiActionValuesScriptGenerator.getURLValueJS(sb,i,(URLValue)subAction.getValue(),SVGEncoderAdapter.getInstance());
    break;
case ActionType.INVOKE_SCRIPT:
  sb=MultiActionValuesScriptGenerator.getScriptValueJS(sb,i,(ScriptValue)subAction.getValue());
break;
case ActionType.TOGGLE_VISIBILITY:
sb=MultiActionValuesScriptGenerator.getVisualJS(sb,i,subAction.getValue(),"String_Node_Str");
break;
case ActionType.TOGGLE_DATA_POINT_VISIBILITY:
sb=MultiActionValuesScriptGenerator.getVisualJS(sb,i,subAction.getValue(),"String_Node_Str");
break;
case ActionType.HIGHLIGHT:
sb=MultiActionValuesScriptGenerator.getVisualJS(sb,i,subAction.getValue(),"String_Node_Str");
break;
case ActionType.SHOW_TOOLTIP:
sb=MultiActionValuesScriptGenerator.getVisualJS(sb,i,subAction.getValue(),"String_Node_Str");
break;
}
i++;
}
MultiActionValuesScriptGenerator.appendInteractivityVariables(sb);
sb.append("String_Node_Str");
sb.append("String_Node_Str");
sb.append("String_Node_Str");
sb.append("String_Node_Str");
sb.append("String_Node_Str");
sb.append("String_Node_Str");
return sb.toString();
}

Fixed version (ground truth):
/** 
 * Returns the callback content of multiple actions.
 * @param actions
 * @return
 */
private String getMultiActionsCallbackContent(MultipleActions actions){
  StringBuilder sb=new StringBuilder();
  sb.append("String_Node_Str");
  EMap<String,String> propMap=actions.getPropertiesMap();
  sb.append(getPropertiesJS(propMap).toString());
  int i=0;
  for (  Action subAction : MultiActionValuesScriptGenerator.getValidActions(actions)) {
    int typeValue=subAction.getType().getValue();
switch (typeValue) {
case ActionType.URL_REDIRECT:
      sb=MultiActionValuesScriptGenerator.getURLValueJS(sb,i,(URLValue)subAction.getValue(),SVGEncoderAdapter.getInstance());
    break;
case ActionType.INVOKE_SCRIPT:
  sb=MultiActionValuesScriptGenerator.getScriptValueJS(sb,i,(ScriptValue)subAction.getValue(),getULocale());
break;
case ActionType.TOGGLE_VISIBILITY:
sb=MultiActionValuesScriptGenerator.getVisualJS(sb,i,subAction.getValue(),"String_Node_Str");
break;
case ActionType.TOGGLE_DATA_POINT_VISIBILITY:
sb=MultiActionValuesScriptGenerator.getVisualJS(sb,i,subAction.getValue(),"String_Node_Str");
break;
case ActionType.HIGHLIGHT:
sb=MultiActionValuesScriptGenerator.getVisualJS(sb,i,subAction.getValue(),"String_Node_Str");
break;
case ActionType.SHOW_TOOLTIP:
sb=MultiActionValuesScriptGenerator.getVisualJS(sb,i,subAction.getValue(),"String_Node_Str");
break;
}
i++;
}
MultiActionValuesScriptGenerator.appendInteractivityVariables(sb);
sb.append("String_Node_Str");
sb.append("String_Node_Str");
sb.append("String_Node_Str");
sb.append("String_Node_Str");
sb.append("String_Node_Str");
sb.append("String_Node_Str");
return sb.toString();
}