Program: 152732
Project: 152732
Buggy source:
@Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.startup_wizard_login_information_check);
  loginText=(TextView)findViewById(R.id.startup_wizard_login_information_check_login_text);
  loginImage=(ImageView)findViewById(R.id.startup_wizard_login_information_check_login_image);
  classListText=(TextView)findViewById(R.id.startup_wizard_login_information_check_classlist_text);
  classListImage=(ImageView)findViewById(R.id.startup_wizard_login_information_check_classlist_image);
  teacherListText=(TextView)findViewById(R.id.startup_wizard_login_information_check_teacherlist_text);
  teacherListImage=(ImageView)findViewById(R.id.startup_wizard_login_information_check_teacherlist_image);
  roomListText=(TextView)findViewById(R.id.startup_wizard_login_information_check_roomlist_text);
  roomListImage=(ImageView)findViewById(R.id.startup_wizard_login_information_check_roomlist_image);
  subjectListText=(TextView)findViewById(R.id.startup_wizard_login_information_check_subjectlist_text);
  subjectListImage=(ImageView)findViewById(R.id.startup_wizard_login_information_check_subjectlist_image);
  progressWheel=(ProgressBar)findViewById(R.id.startup_wizard_login_information_check_progress);
  infoText=(TextView)findViewById(R.id.startup_wizard_login_information_check_info_text);
  finishButton=(Button)findViewById(R.id.startup_wizard_login_information_check_finish_button);
  finishButton.setOnClickListener(new Button.OnClickListener(){
    @Override public void onClick(    View v){
      Intent intent=new Intent(getApplicationContext(),WelcomeScreen.class);
      intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
      startActivity(intent);
    }
  }
);
  backButton=(Button)findViewById(R.id.startup_wizard_login_information_check_back_button);
  backButton.setOnClickListener(new Button.OnClickListener(){
    @Override public void onClick(    View v){
      onBackPressed();
    }
  }
);
  loginListener=new LoginTask(this);
  Bundle extras=getIntent().getExtras();
  activeSet=new LoginSet(extras.getString(LoginSetConstants.nameKey),extras.getString(LoginSetConstants.serverUrlKey),extras.getString(LoginSetConstants.schoolKey),extras.getString(LoginSetConstants.usernameKey),extras.getString(LoginSetConstants.passwordKey),extras.getBoolean(LoginSetConstants.sslOnlyKey));
  loginListener.performLogin(activeSet);
  loginText.setTextColor(R.color.text);
}

Fixed version (ground truth):
@Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.startup_wizard_login_information_check);
  loginText=(TextView)findViewById(R.id.startup_wizard_login_information_check_login_text);
  loginImage=(ImageView)findViewById(R.id.startup_wizard_login_information_check_login_image);
  classListText=(TextView)findViewById(R.id.startup_wizard_login_information_check_classlist_text);
  classListImage=(ImageView)findViewById(R.id.startup_wizard_login_information_check_classlist_image);
  teacherListText=(TextView)findViewById(R.id.startup_wizard_login_information_check_teacherlist_text);
  teacherListImage=(ImageView)findViewById(R.id.startup_wizard_login_information_check_teacherlist_image);
  roomListText=(TextView)findViewById(R.id.startup_wizard_login_information_check_roomlist_text);
  roomListImage=(ImageView)findViewById(R.id.startup_wizard_login_information_check_roomlist_image);
  subjectListText=(TextView)findViewById(R.id.startup_wizard_login_information_check_subjectlist_text);
  subjectListImage=(ImageView)findViewById(R.id.startup_wizard_login_information_check_subjectlist_image);
  progressWheel=(ProgressBar)findViewById(R.id.startup_wizard_login_information_check_progress);
  infoText=(TextView)findViewById(R.id.startup_wizard_login_information_check_info_text);
  finishButton=(Button)findViewById(R.id.startup_wizard_login_information_check_finish_button);
  finishButton.setOnClickListener(new Button.OnClickListener(){
    @Override public void onClick(    View v){
      ((SchoolPlannerApp)getApplication()).getLoginSetManager().addLoginSet(activeSet);
      Intent intent=new Intent(getApplicationContext(),WelcomeScreen.class);
      intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
      startActivity(intent);
    }
  }
);
  backButton=(Button)findViewById(R.id.startup_wizard_login_information_check_back_button);
  backButton.setOnClickListener(new Button.OnClickListener(){
    @Override public void onClick(    View v){
      onBackPressed();
    }
  }
);
  loginListener=new LoginTask(this);
  Bundle extras=getIntent().getExtras();
  activeSet=new LoginSet(extras.getString(LoginSetConstants.nameKey),extras.getString(LoginSetConstants.serverUrlKey),extras.getString(LoginSetConstants.schoolKey),extras.getString(LoginSetConstants.usernameKey),extras.getString(LoginSetConstants.passwordKey),extras.getBoolean(LoginSetConstants.sslOnlyKey));
  loginListener.performLogin(activeSet);
  loginText.setTextColor(R.color.text);
}