Program: 158653
Project: 158653
Buggy source:
protected String getMessageText(Game game){
  StringBuilder sb=threadLocalBuilder.get();
  MageObject object=game.getObject(this.sourceId);
  if (object != null) {
    if (object instanceof StackAbility) {
      Card card=game.getCard(((StackAbility)object).getSourceId());
      if (card != null) {
        sb.append(GameLog.getColoredObjectIdName(card));
      }
 else {
        sb.append(GameLog.getColoredObjectIdName(object));
      }
    }
 else {
      if (object instanceof Spell) {
        Spell spell=(Spell)object;
        String castText=spell.getSpellCastText(game);
        sb.append((castText.startsWith("String_Node_Str") ? castText.substring(5) : castText));
        if (spell.getFromZone() == Zone.GRAVEYARD) {
          sb.append("String_Node_Str");
        }
        sb.append(getOptionalTextSuffix(game,spell));
      }
 else {
        sb.append(GameLog.getColoredObjectIdName(object));
      }
    }
  }
 else {
    sb.append("String_Node_Str");
  }
  if (object instanceof Spell && ((Spell)object).getSpellAbilities().size() > 1) {
    if (((Spell)object).getSpellAbility().getSpellAbilityType().equals(SpellAbilityType.SPLIT_FUSED)) {
      Spell spell=(Spell)object;
      int i=0;
      for (      SpellAbility spellAbility : spell.getSpellAbilities()) {
        i++;
        String half;
        if (i == 1) {
          half="String_Node_Str";
        }
 else {
          half="String_Node_Str";
        }
        if (spellAbility.getTargets().size() > 0) {
          sb.append(half).append("String_Node_Str");
          for (          Target target : spellAbility.getTargets()) {
            sb.append(target.getTargetedName(game));
          }
        }
      }
    }
 else {
      Spell spell=(Spell)object;
      int i=0;
      for (      SpellAbility spellAbility : spell.getSpellAbilities()) {
        i++;
        if (i > 1) {
          sb.append("String_Node_Str");
          if (spellAbility.name.length() > 5 && spellAbility.name.startsWith("String_Node_Str")) {
            sb.append(spellAbility.name.substring(5));
          }
 else {
            sb.append(spellAbility.name);
          }
        }
        sb.append(getTargetDescriptionForLog(spellAbility.getTargets(),game));
      }
    }
  }
 else   if (object instanceof Spell && ((Spell)object).getSpellAbility().getModes().size() > 1) {
    Modes spellModes=((Spell)object).getSpellAbility().getModes();
    for (    Mode selectedMode : spellModes.getSelectedModes()) {
      int item=0;
      for (      Mode mode : spellModes.values()) {
        item++;
        if (mode.getId().equals(selectedMode.getId())) {
          sb.append("String_Node_Str").append(item).append("String_Node_Str");
          sb.append(getTargetDescriptionForLog(selectedMode.getTargets(),game));
          break;
        }
      }
    }
  }
 else {
    sb.append(getTargetDescriptionForLog(getTargets(),game));
  }
  return sb.toString();
}

Fixed version (ground truth):
protected String getMessageText(Game game){
  StringBuilder sb=threadLocalBuilder.get();
  MageObject object=game.getObject(this.sourceId);
  if (object != null) {
    if (object instanceof StackAbility) {
      Card card=game.getCard(((StackAbility)object).getSourceId());
      if (card != null) {
        sb.append(GameLog.getColoredObjectIdName(card));
      }
 else {
        sb.append(GameLog.getColoredObjectIdName(object));
      }
    }
 else     if (object instanceof Spell) {
      Spell spell=(Spell)object;
      String castText=spell.getSpellCastText(game);
      sb.append((castText.startsWith("String_Node_Str") ? castText.substring(5) : castText));
      if (spell.getFromZone() == Zone.GRAVEYARD) {
        sb.append("String_Node_Str");
      }
      sb.append(getOptionalTextSuffix(game,spell));
    }
 else {
      sb.append(GameLog.getColoredObjectIdName(object));
    }
  }
 else {
    sb.append("String_Node_Str");
  }
  if (object instanceof Spell && ((Spell)object).getSpellAbilities().size() > 1) {
    if (((Spell)object).getSpellAbility().getSpellAbilityType().equals(SpellAbilityType.SPLIT_FUSED)) {
      Spell spell=(Spell)object;
      int i=0;
      for (      SpellAbility spellAbility : spell.getSpellAbilities()) {
        i++;
        String half;
        if (i == 1) {
          half="String_Node_Str";
        }
 else {
          half="String_Node_Str";
        }
        if (spellAbility.getTargets().size() > 0) {
          sb.append(half).append("String_Node_Str");
          for (          Target target : spellAbility.getTargets()) {
            sb.append(target.getTargetedName(game));
          }
        }
      }
    }
 else {
      Spell spell=(Spell)object;
      int i=0;
      for (      SpellAbility spellAbility : spell.getSpellAbilities()) {
        i++;
        if (i > 1) {
          sb.append("String_Node_Str");
          if (spellAbility.name.length() > 5 && spellAbility.name.startsWith("String_Node_Str")) {
            sb.append(spellAbility.name.substring(5));
          }
 else {
            sb.append(spellAbility.name);
          }
        }
        sb.append(getTargetDescriptionForLog(spellAbility.getTargets(),game));
      }
    }
  }
 else   if (object instanceof Spell && ((Spell)object).getSpellAbility().getModes().size() > 1) {
    Modes spellModes=((Spell)object).getSpellAbility().getModes();
    for (    Mode selectedMode : spellModes.getSelectedModes()) {
      int item=0;
      for (      Mode mode : spellModes.values()) {
        item++;
        if (mode.getId().equals(selectedMode.getId())) {
          sb.append("String_Node_Str").append(item).append("String_Node_Str");
          sb.append(getTargetDescriptionForLog(selectedMode.getTargets(),game));
          break;
        }
      }
    }
  }
 else {
    sb.append(getTargetDescriptionForLog(getTargets(),game));
  }
  return sb.toString();
}