Program: 40559
Project: 40559
Buggy source:
public InvestTempPojo(AppInfo app){
  int currentPeriod=Integer.valueOf(app.currentInfo.currentPeriod);
  String tokenSold=app.currentInfo.currentPeriod;
  String totalTokens=String.valueOf(Long.parseLong(app.icoTotalSupply) / (long)Math.pow(10,8));
  long endIcoUnixDate=Long.parseLong(app.icoStages.get(currentPeriod).time);
  long totalTimeFromUnix=(endIcoUnixDate - (System.currentTimeMillis() / 1000));
  objects.add(new InvestMainItem(app.nameApp,"String_Node_Str",tokenSold,totalTokens,1,3,totalTimeFromUnix,"String_Node_Str",app.adrICO,app.getIconUrl(),app.icoSymbol));
  objectViewType.add(InvestScreenAdapter.INVEST_VIEWTYPE_MAIN);
  objects.add(new InvestYoutube(app.infoICO.youtubeID));
  objectViewType.add(InvestScreenAdapter.INVEST_VIEWTYPE_YOUTUBE);
  objects.add(new InvestTitle("String_Node_Str"));
  objectViewType.add(InvestScreenAdapter.INVEST_VIEWTYPE_TITLE);
  objects.add(new InvestBody(app.infoICO.description));
  objectViewType.add(InvestScreenAdapter.INVEST_VIEWTYPE_BODY);
  objects.add(new InvestTitle("String_Node_Str"));
  objectViewType.add(InvestScreenAdapter.INVEST_VIEWTYPE_TITLE);
  objects.add(new InvestBody(app.infoICO.advantages));
  objectViewType.add(InvestScreenAdapter.INVEST_VIEWTYPE_BODY);
  objects.add(new InvestTitle("String_Node_Str"));
  objectViewType.add(InvestScreenAdapter.INVEST_VIEWTYPE_TITLE);
  objects.add(new ScreenShotBody(app.getImages()));
  objectViewType.add(InvestScreenAdapter.INVEST_VIEWETYPE_IMAGE_GALLERY);
  if (app.infoICO.advisors != null && !app.infoICO.advisors.isEmpty()) {
    objects.add(new InvestTitle("String_Node_Str"));
    objectViewType.add(InvestScreenAdapter.INVEST_VIEWTYPE_TITLE);
    for (    IcoTeam advisor : app.infoICO.advisors) {
      objects.add(new InvestMember(advisor.name,advisor.description,app.getImageByPath(advisor.photo),advisor.social));
      objectViewType.add(InvestScreenAdapter.INVEST_VIEWTYPE_MEMBER);
    }
  }
  if (app.infoICO.team != null && !app.infoICO.team.isEmpty()) {
    objects.add(new InvestTitle("String_Node_Str"));
    objectViewType.add(InvestScreenAdapter.INVEST_VIEWTYPE_TITLE);
    for (    IcoTeam team : app.infoICO.team) {
      objects.add(new InvestMember(team.name,team.description,app.getImageByPath(team.photo),team.social));
      objectViewType.add(InvestScreenAdapter.INVEST_VIEWTYPE_MEMBER);
    }
  }
}

Fixed version (ground truth):
public InvestTempPojo(AppInfo app){
  int currentPeriod=Integer.valueOf(app.currentInfo.currentPeriod);
  String tokenSold=String.valueOf(Double.parseDouble(app.currentInfo.tokensSold) / (double)Math.pow(10,Double.parseDouble(app.icoDecimals)));
  tokenSold=String.valueOf((double)Math.round(Double.parseDouble(tokenSold) * 1000d) / 1000d);
  String totalTokens=String.valueOf(Long.parseLong(app.icoTotalSupply) / (long)Math.pow(10,Long.parseLong(app.icoDecimals)) * 45 / 100);
  long endIcoUnixDate=Long.parseLong(app.icoStages.get(currentPeriod).time);
  long totalTimeFromUnix=(endIcoUnixDate - (System.currentTimeMillis() / 1000));
  objects.add(new InvestMainItem(app.nameApp,"String_Node_Str",tokenSold,totalTokens,currentPeriod + 1,3,totalTimeFromUnix,"String_Node_Str",app.adrICO,app.getIconUrl(),app.icoSymbol));
  objectViewType.add(InvestScreenAdapter.INVEST_VIEWTYPE_MAIN);
  objects.add(new InvestYoutube(app.infoICO.youtubeID));
  objectViewType.add(InvestScreenAdapter.INVEST_VIEWTYPE_YOUTUBE);
  objects.add(new InvestTitle("String_Node_Str"));
  objectViewType.add(InvestScreenAdapter.INVEST_VIEWTYPE_TITLE);
  objects.add(new InvestBody(app.infoICO.description));
  objectViewType.add(InvestScreenAdapter.INVEST_VIEWTYPE_BODY);
  objects.add(new InvestTitle("String_Node_Str"));
  objectViewType.add(InvestScreenAdapter.INVEST_VIEWTYPE_TITLE);
  objects.add(new InvestBody(app.infoICO.advantages));
  objectViewType.add(InvestScreenAdapter.INVEST_VIEWTYPE_BODY);
  objects.add(new InvestTitle("String_Node_Str"));
  objectViewType.add(InvestScreenAdapter.INVEST_VIEWTYPE_TITLE);
  objects.add(new ScreenShotBody(app.getImages()));
  objectViewType.add(InvestScreenAdapter.INVEST_VIEWETYPE_IMAGE_GALLERY);
  if (app.infoICO.advisors != null && !app.infoICO.advisors.isEmpty()) {
    objects.add(new InvestTitle("String_Node_Str"));
    objectViewType.add(InvestScreenAdapter.INVEST_VIEWTYPE_TITLE);
    for (    IcoTeam advisor : app.infoICO.advisors) {
      objects.add(new InvestMember(advisor.name,advisor.description,app.getImageByPath(advisor.photo),advisor.social));
      objectViewType.add(InvestScreenAdapter.INVEST_VIEWTYPE_MEMBER);
    }
  }
  if (app.infoICO.team != null && !app.infoICO.team.isEmpty()) {
    objects.add(new InvestTitle("String_Node_Str"));
    objectViewType.add(InvestScreenAdapter.INVEST_VIEWTYPE_TITLE);
    for (    IcoTeam team : app.infoICO.team) {
      objects.add(new InvestMember(team.name,team.description,app.getImageByPath(team.photo),team.social));
      objectViewType.add(InvestScreenAdapter.INVEST_VIEWTYPE_MEMBER);
    }
  }
}