Program: 1581
Project: 1581
Buggy source:
/** 
 * Reset a players account easily.
 * @param resetting The player being reset. Cannot be null.
 * @param by The player resetting the account. Cannot be null.
 * @param notify Do we want to show the updates to each player?
 */
public void showPayment(String from,String to,double amount){
  Player paymentFrom=iConomy.getBukkitServer().getPlayer(from);
  Player paymentTo=iConomy.getBukkitServer().getPlayer(to);
  Account balanceFrom=iConomy.getBank().getAccount(from);
  Account balanceTo=iConomy.getBank().getAccount(to);
  if (from.equals(to)) {
    if (paymentFrom != null) {
      Messaging.send(paymentFrom,Template.color("String_Node_Str"));
    }
  }
 else   if (amount < 0.0 || !balanceFrom.hasEnough(amount)) {
    if (paymentFrom != null) {
      Messaging.send(paymentFrom,Template.color("String_Node_Str"));
    }
  }
 else {
    balanceFrom.subtract(amount);
    balanceFrom.save();
    balanceTo.add(amount);
    balanceTo.save();
    iConomy.getTransactions().insert(from,to,balanceFrom.getBalance(),balanceTo.getBalance(),0.0,0.0,amount);
    iConomy.getTransactions().insert(to,from,balanceTo.getBalance(),balanceFrom.getBalance(),0.0,amount,0.0);
    if (paymentFrom != null) {
      Messaging.send(paymentFrom,Template.color("String_Node_Str") + Template.parse("String_Node_Str",new String[]{"String_Node_Str","String_Node_Str"},new String[]{to,iConomy.getBank().format(amount)}));
      showBalance(from,paymentFrom,true);
    }
    if (paymentTo != null) {
      Messaging.send(paymentTo,Template.color("String_Node_Str") + Template.parse("String_Node_Str",new String[]{"String_Node_Str","String_Node_Str"},new String[]{from,iConomy.getBank().format(amount)}));
      showBalance(to,paymentTo,true);
    }
  }
}

Fixed version (ground truth):
/** 
 * Reset a players account easily.
 * @param resetting The player being reset. Cannot be null.
 * @param by The player resetting the account. Cannot be null.
 * @param notify Do we want to show the updates to each player?
 */
public void showPayment(String from,String to,double amount){
  Player paymentFrom=iConomy.getBukkitServer().getPlayer(from);
  Player paymentTo=iConomy.getBukkitServer().getPlayer(to);
  if (paymentFrom != null) {
    from=paymentFrom.getName();
  }
  if (paymentTo != null) {
    to=paymentTo.getName();
  }
  Account balanceFrom=iConomy.getBank().getAccount(from);
  Account balanceTo=iConomy.getBank().getAccount(to);
  if (from.equals(to)) {
    if (paymentFrom != null) {
      Messaging.send(paymentFrom,Template.color("String_Node_Str"));
    }
  }
 else   if (amount < 0.0 || !balanceFrom.hasEnough(amount)) {
    if (paymentFrom != null) {
      Messaging.send(paymentFrom,Template.color("String_Node_Str"));
    }
  }
 else {
    balanceFrom.subtract(amount);
    balanceFrom.save();
    balanceTo.add(amount);
    balanceTo.save();
    iConomy.getTransactions().insert(from,to,balanceFrom.getBalance(),balanceTo.getBalance(),0.0,0.0,amount);
    iConomy.getTransactions().insert(to,from,balanceTo.getBalance(),balanceFrom.getBalance(),0.0,amount,0.0);
    if (paymentFrom != null) {
      Messaging.send(paymentFrom,Template.color("String_Node_Str") + Template.parse("String_Node_Str",new String[]{"String_Node_Str","String_Node_Str"},new String[]{to,iConomy.getBank().format(amount)}));
      showBalance(from,paymentFrom,true);
    }
    if (paymentTo != null) {
      Messaging.send(paymentTo,Template.color("String_Node_Str") + Template.parse("String_Node_Str",new String[]{"String_Node_Str","String_Node_Str"},new String[]{from,iConomy.getBank().format(amount)}));
      showBalance(to,paymentTo,true);
    }
  }
}