Program: 33644
Project: 33644
Buggy source:
@Override public void parseData() throws BasicModel.FieldNotDefinedException {
  mDataToBind.clear();
  if (mAPIData == null) {
    return;
  }
  EventsTable eventsTable=mDb.getEventsTable();
  mDataToBind.add(new LabelValueListItem(mResources.getString(R.string.district_point_rank),mAPIData.getRank() + Utilities.getOrdinalFor(mAPIData.getRank())));
  Event event1=eventsTable.get(mAPIData.getEvent1Key());
  String event1Name=event1 != null ? event1.getEventShortName() : mAPIData.getEvent1Key();
  mDataToBind.add(new LabelValueDetailListItem(event1Name,String.format(mResources.getString(R.string.district_points_format),mAPIData.getEvent1Points()),EventTeamHelper.generateKey(mAPIData.getEvent1Key(),mAPIData.getTeamKey())));
  Event event2=eventsTable.get(mAPIData.getEvent2Key());
  String event2Name=event2 != null ? event2.getEventShortName() : mAPIData.getEvent2Key();
  mDataToBind.add(new LabelValueDetailListItem(event2Name,String.format(mResources.getString(R.string.district_points_format),mAPIData.getEvent2Points()),EventTeamHelper.generateKey(mAPIData.getEvent2Key(),mAPIData.getTeamKey())));
  Event districtCmp=eventsTable.get(mAPIData.getCmpKey());
  String cmpName=districtCmp != null ? districtCmp.getEventShortName() : mAPIData.getCmpKey();
  mDataToBind.add(new LabelValueDetailListItem(cmpName,String.format(mResources.getString(R.string.district_points_format),mAPIData.getCmpPoints()),EventTeamHelper.generateKey(mAPIData.getCmpKey(),mAPIData.getTeamKey())));
  mDataToBind.add(new LabelValueListItem(mResources.getString(R.string.total_district_points),String.format(mResources.getString(R.string.district_points_format),mAPIData.getTotalPoints())));
  String actionBarTitle=String.format(mResources.getString(R.string.team_actionbar_title),mTeamKey.substring(3));
  String actionBarSubtitle=String.format("String_Node_Str",mDistrictKey.substring(0,4),mDistrictKey.substring(4).toUpperCase());
  mEventBus.post(new ActionBarTitleEvent(actionBarTitle,actionBarSubtitle));
}

Fixed version (ground truth):
@Override public void parseData() throws BasicModel.FieldNotDefinedException {
  if (mAPIData == null) {
    return;
  }
  mDataToBind.clear();
  EventsTable eventsTable=mDb.getEventsTable();
  mDataToBind.add(new LabelValueListItem(mResources.getString(R.string.district_point_rank),mAPIData.getRank() + Utilities.getOrdinalFor(mAPIData.getRank())));
  Event event1=eventsTable.get(mAPIData.getEvent1Key());
  String event1Name=event1 != null ? event1.getEventShortName() : mAPIData.getEvent1Key();
  mDataToBind.add(new LabelValueDetailListItem(event1Name,String.format(mResources.getString(R.string.district_points_format),mAPIData.getEvent1Points()),EventTeamHelper.generateKey(mAPIData.getEvent1Key(),mAPIData.getTeamKey())));
  Event event2=eventsTable.get(mAPIData.getEvent2Key());
  String event2Name=event2 != null ? event2.getEventShortName() : mAPIData.getEvent2Key();
  mDataToBind.add(new LabelValueDetailListItem(event2Name,String.format(mResources.getString(R.string.district_points_format),mAPIData.getEvent2Points()),EventTeamHelper.generateKey(mAPIData.getEvent2Key(),mAPIData.getTeamKey())));
  Event districtCmp=eventsTable.get(mAPIData.getCmpKey());
  String cmpName=districtCmp != null ? districtCmp.getEventShortName() : mAPIData.getCmpKey();
  mDataToBind.add(new LabelValueDetailListItem(cmpName,String.format(mResources.getString(R.string.district_points_format),mAPIData.getCmpPoints()),EventTeamHelper.generateKey(mAPIData.getCmpKey(),mAPIData.getTeamKey())));
  mDataToBind.add(new LabelValueListItem(mResources.getString(R.string.total_district_points),String.format(mResources.getString(R.string.district_points_format),mAPIData.getTotalPoints())));
  String actionBarTitle=String.format(mResources.getString(R.string.team_actionbar_title),mTeamKey.substring(3));
  String actionBarSubtitle=String.format("String_Node_Str",mDistrictKey.substring(0,4),mDistrictKey.substring(4).toUpperCase());
  mEventBus.post(new ActionBarTitleEvent(actionBarTitle,actionBarSubtitle));
}