Program: 172652
Project: 172652
Buggy source:
@Override public void handle(RoutingContext ctx){
  UserManager userManager=new UserManager();
  DataBase database=DataBase.getInstance();
  String uid=null;
  try {
    uid=userManager.getUid(userManager.getIdFromSession(ctx));
  }
 catch (  SQLException e) {
    e.printStackTrace();
  }
  if (!Guardian.checkParameters(uid)) {
    ctx.response().setStatusCode(400).end();
    ctx.response().close();
    return;
  }
  EasyJsonObject responseObject=new EasyJsonObject();
  try {
    SafeResultSet resultSet=database.executeQuery("String_Node_Str",uid,"String_Node_Str");
    if (resultSet.next()) {
      responseObject.put("String_Node_Str",true);
      responseObject.put("String_Node_Str",resultSet.getInt("String_Node_Str"));
      responseObject.put("String_Node_Str",resultSet.getString("String_Node_Str"));
    }
 else {
      responseObject.put("String_Node_Str",false);
    }
    resultSet=database.executeQuery("String_Node_Str",uid,"String_Node_Str");
    if (resultSet.next()) {
      responseObject.put("String_Node_Str",true);
      responseObject.put("String_Node_Str",resultSet.getBoolean("String_Node_Str"));
      responseObject.put("String_Node_Str",resultSet.getBoolean("String_Node_Str"));
    }
 else {
      responseObject.put("String_Node_Str",false);
    }
    resultSet=database.executeQuery("String_Node_Str",uid,"String_Node_Str",getCurrentWeek(),"String_Node_Str");
    if (resultSet.next()) {
      responseObject.put("String_Node_Str",true);
      responseObject.put("String_Node_Str",resultSet.getInt("String_Node_Str"));
    }
 else {
      responseObject.put("String_Node_Str",false);
    }
    ctx.response().setStatusCode(200);
    ctx.response().end(responseObject.toString());
    ctx.response().close();
  }
 catch (  SQLException e) {
    ctx.response().setStatusCode(500).end();
    ctx.response().close();
    Log.l("String_Node_Str");
  }
}

Fixed version (ground truth):
@Override public void handle(RoutingContext ctx){
  UserManager userManager=new UserManager();
  DataBase database=DataBase.getInstance();
  String uid=null;
  try {
    uid=userManager.getUid(userManager.getIdFromSession(ctx));
  }
 catch (  SQLException e) {
    e.printStackTrace();
  }
  if (!Guardian.checkParameters(uid)) {
    ctx.response().setStatusCode(400).end();
    ctx.response().close();
    return;
  }
  EasyJsonObject responseObject=new EasyJsonObject();
  try {
    SafeResultSet resultSet=database.executeQuery("String_Node_Str",uid,"String_Node_Str");
    if (resultSet.next()) {
      responseObject.put("String_Node_Str",true);
      responseObject.put("String_Node_Str",resultSet.getInt("String_Node_Str"));
      responseObject.put("String_Node_Str",resultSet.getString("String_Node_Str"));
    }
 else {
      responseObject.put("String_Node_Str",false);
    }
    resultSet=database.executeQuery("String_Node_Str",uid,"String_Node_Str");
    if (resultSet.next()) {
      responseObject.put("String_Node_Str",true);
      responseObject.put("String_Node_Str",resultSet.getBoolean("String_Node_Str"));
      responseObject.put("String_Node_Str",resultSet.getBoolean("String_Node_Str"));
    }
 else {
      responseObject.put("String_Node_Str",false);
    }
    resultSet=database.executeQuery("String_Node_Str",uid,"String_Node_Str");
    if (resultSet.next()) {
      responseObject.put("String_Node_Str",true);
      responseObject.put("String_Node_Str",resultSet.getInt("String_Node_Str"));
    }
 else {
      responseObject.put("String_Node_Str",false);
    }
    ctx.response().setStatusCode(200);
    ctx.response().end(responseObject.toString());
    ctx.response().close();
  }
 catch (  SQLException e) {
    ctx.response().setStatusCode(500).end();
    ctx.response().close();
    e.printStackTrace();
    Log.l("String_Node_Str");
  }
}