Program: 19061
Project: 19061
Buggy source:
@Override public View onCreateView(LayoutInflater inflater,final ViewGroup container,Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  ViewGroup rootView=(ViewGroup)inflater.inflate(R.layout.debug_frag,null);
  mLogArea=(TextView)rootView.findViewById(R.id.logArea);
  ViewGroup tests=(ViewGroup)rootView.findViewById(R.id.debug_action_list);
  tests.addView(createTestAction(new ForceSyncNowAction()));
  tests.addView(createTestAction(new DisplayUserDataDebugAction()));
  tests.addView(createTestAction(new ShowAllDriveFilesDebugAction()));
  tests.addView(createTestAction(new ForceAppDataSyncNowAction()));
  tests.addView(createTestAction(new TestScheduleHelperAction()));
  tests.addView(createTestAction(new ScheduleStarredSessionAlarmsAction()));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    final Context context,    final Callback callback){
      final String sessionId=SessionAlarmService.DEBUG_SESSION_ID;
      final String sessionTitle="String_Node_Str";
      Intent intent=new Intent(SessionAlarmService.ACTION_NOTIFY_SESSION_FEEDBACK,null,context,SessionAlarmService.class);
      intent.putExtra(SessionAlarmService.EXTRA_SESSION_ID,sessionId);
      intent.putExtra(SessionAlarmService.EXTRA_SESSION_START,System.currentTimeMillis() - 30 * 60 * 1000);
      intent.putExtra(SessionAlarmService.EXTRA_SESSION_END,System.currentTimeMillis());
      intent.putExtra(SessionAlarmService.EXTRA_SESSION_TITLE,sessionTitle);
      context.startService(intent);
      Toast.makeText(context,"String_Node_Str",Toast.LENGTH_LONG).show();
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new ShowSessionNotificationDebugAction()));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      context.startActivity(new Intent(context,WelcomeActivity.class));
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      SettingsUtils.markTosAccepted(context,false);
      SettingsUtils.markConductAccepted(context,false);
      SettingsUtils.setAttendeeAtVenue(context,false);
      SettingsUtils.markAnsweredLocalOrRemote(context,false);
      AccountUtils.setActiveAccount(context,null);
      ConfMessageCardUtils.unsetStateForAllCards(context);
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      Intent intent=new Intent(context,ExploreSessionsActivity.class);
      intent.putExtra(ExploreSessionsActivity.EXTRA_FILTER_TAG,"String_Node_Str");
      context.startActivity(intent);
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      LOGW(TAG,"String_Node_Str");
      ConfMessageCardUtils.markAnsweredConfMessageCardsPrompt(context,null);
      ConfMessageCardUtils.setConfMessageCardsEnabled(context,null);
      ConfMessageCardUtils.unsetStateForAllCards(context);
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      TimeUtils.setCurrentTimeRelativeToStartOfConference(context,-TimeUtils.HOUR * 3);
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      TimeUtils.setCurrentTimeRelativeToStartOfConference(context,-TimeUtils.DAY);
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      TimeUtils.setCurrentTimeRelativeToStartOfConference(context,TimeUtils.HOUR * 3);
      LOGW(TAG,"String_Node_Str");
      ConfMessageCardUtils.markAnsweredConfMessageCardsPrompt(context,null);
      ConfMessageCardUtils.setConfMessageCardsEnabled(context,null);
      SettingsUtils.markDeclinedWifiSetup(context,false);
      WiFiUtils.uninstallConferenceWiFi(context);
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      TimeUtils.setCurrentTimeRelativeToStartOfSecondDayOfConference(context,TimeUtils.HOUR * 3);
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      TimeUtils.setCurrentTimeRelativeToEndOfConference(context,TimeUtils.HOUR * 3);
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      ConfMessageCardUtils.markShouldShowConfMessageCard(context,ConfMessageCardUtils.ConfMessageCard.CONFERENCE_CREDENTIALS,true);
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      ConfMessageCardUtils.markShouldShowConfMessageCard(context,ConfMessageCardUtils.ConfMessageCard.KEYNOTE_ACCESS,true);
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      ConfMessageCardUtils.markShouldShowConfMessageCard(context,ConfMessageCardUtils.ConfMessageCard.AFTER_HOURS,true);
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  return rootView;
}

Fixed version (ground truth):
@Override public View onCreateView(LayoutInflater inflater,final ViewGroup container,Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  ViewGroup rootView=(ViewGroup)inflater.inflate(R.layout.debug_frag,null);
  mLogArea=(TextView)rootView.findViewById(R.id.logArea);
  ViewGroup tests=(ViewGroup)rootView.findViewById(R.id.debug_action_list);
  tests.addView(createTestAction(new ForceSyncNowAction()));
  tests.addView(createTestAction(new DisplayUserDataDebugAction()));
  tests.addView(createTestAction(new ShowAllDriveFilesDebugAction()));
  tests.addView(createTestAction(new ForceAppDataSyncNowAction()));
  tests.addView(createTestAction(new TestScheduleHelperAction()));
  tests.addView(createTestAction(new ScheduleStarredSessionAlarmsAction()));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    final Context context,    final Callback callback){
      final String sessionId=SessionAlarmService.DEBUG_SESSION_ID;
      final String sessionTitle="String_Node_Str";
      Intent intent=new Intent(SessionAlarmService.ACTION_NOTIFY_SESSION_FEEDBACK,null,context,SessionAlarmService.class);
      intent.putExtra(SessionAlarmService.EXTRA_SESSION_ID,sessionId);
      intent.putExtra(SessionAlarmService.EXTRA_SESSION_START,System.currentTimeMillis() - 30 * 60 * 1000);
      intent.putExtra(SessionAlarmService.EXTRA_SESSION_END,System.currentTimeMillis());
      intent.putExtra(SessionAlarmService.EXTRA_SESSION_TITLE,sessionTitle);
      context.startService(intent);
      Toast.makeText(context,"String_Node_Str",Toast.LENGTH_LONG).show();
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new ShowSessionNotificationDebugAction()));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      SettingsUtils.markTosAccepted(context,false);
      SettingsUtils.markConductAccepted(context,false);
      SettingsUtils.setAttendeeAtVenue(context,false);
      SettingsUtils.markAnsweredLocalOrRemote(context,false);
      AccountUtils.setActiveAccount(context,null);
      context.startActivity(new Intent(context,WelcomeActivity.class));
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      SettingsUtils.markTosAccepted(context,false);
      SettingsUtils.markConductAccepted(context,false);
      SettingsUtils.setAttendeeAtVenue(context,false);
      SettingsUtils.markAnsweredLocalOrRemote(context,false);
      AccountUtils.setActiveAccount(context,null);
      ConfMessageCardUtils.unsetStateForAllCards(context);
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      Intent intent=new Intent(context,ExploreSessionsActivity.class);
      intent.putExtra(ExploreSessionsActivity.EXTRA_FILTER_TAG,"String_Node_Str");
      context.startActivity(intent);
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      LOGW(TAG,"String_Node_Str");
      ConfMessageCardUtils.markAnsweredConfMessageCardsPrompt(context,null);
      ConfMessageCardUtils.setConfMessageCardsEnabled(context,null);
      ConfMessageCardUtils.unsetStateForAllCards(context);
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      TimeUtils.setCurrentTimeRelativeToStartOfConference(context,-TimeUtils.HOUR * 3);
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      TimeUtils.setCurrentTimeRelativeToStartOfConference(context,-TimeUtils.DAY);
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      TimeUtils.setCurrentTimeRelativeToStartOfConference(context,TimeUtils.HOUR * 3);
      LOGW(TAG,"String_Node_Str");
      ConfMessageCardUtils.markAnsweredConfMessageCardsPrompt(context,null);
      ConfMessageCardUtils.setConfMessageCardsEnabled(context,null);
      SettingsUtils.markDeclinedWifiSetup(context,false);
      WiFiUtils.uninstallConferenceWiFi(context);
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      TimeUtils.setCurrentTimeRelativeToStartOfSecondDayOfConference(context,TimeUtils.HOUR * 3);
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      TimeUtils.setCurrentTimeRelativeToEndOfConference(context,TimeUtils.HOUR * 3);
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      ConfMessageCardUtils.markShouldShowConfMessageCard(context,ConfMessageCardUtils.ConfMessageCard.CONFERENCE_CREDENTIALS,true);
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      ConfMessageCardUtils.markShouldShowConfMessageCard(context,ConfMessageCardUtils.ConfMessageCard.KEYNOTE_ACCESS,true);
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  tests.addView(createTestAction(new DebugAction(){
    @Override public void run(    Context context,    Callback callback){
      ConfMessageCardUtils.markShouldShowConfMessageCard(context,ConfMessageCardUtils.ConfMessageCard.AFTER_HOURS,true);
    }
    @Override public String getLabel(){
      return "String_Node_Str";
    }
  }
));
  return rootView;
}