Program: 162122
Project: 162122
Buggy source:
@Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.configuration_activity);
  sSelectAgency=(Spinner)findViewById(R.id.sSelectAgency);
  sSelectRoute=(Spinner)findViewById(R.id.sSelectRoute);
  sSelectStop=(Spinner)findViewById(R.id.sSelectStop);
  bReset=(Button)findViewById(R.id.bReset);
  bMakeWidget=(Button)findViewById(R.id.bMakeWidget);
  tvHelpMessage=(TextView)findViewById(R.id.tvHelp);
  Log.v("String_Node_Str","String_Node_Str");
  settings=PreferenceManager.getDefaultSharedPreferences(getBaseContext());
  editor=settings.edit();
  PopulateAgenciesTask task=new PopulateAgenciesTask();
  task.execute();
  OnClickListener setResetClickedListener=new OnClickListener(){
    @Override public void onClick(    View v){
      doReset();
    }
  }
;
  OnClickListener setMakeWidgetClickedListener=new OnClickListener(){
    @Override public void onClick(    View v){
      doMakeWidget();
    }
  }
;
  OnClickListener setHelpClickedListener=new OnClickListener(){
    @Override public void onClick(    View view){
      Utils.showAlertDialog(getBaseContext(),"String_Node_Str",getString(R.string.help_dialog));
    }
  }
;
  Intent intent=getIntent();
  Bundle extras=intent.getExtras();
  if (extras != null) {
    mAppWidgetId=extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID,AppWidgetManager.INVALID_APPWIDGET_ID);
  }
  bReset.setOnClickListener(setResetClickedListener);
  bMakeWidget.setOnClickListener(setMakeWidgetClickedListener);
  tvHelpMessage.setOnClickListener(setHelpClickedListener);
}

Fixed version (ground truth):
@Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.configuration_activity);
  sSelectAgency=(Spinner)findViewById(R.id.sSelectAgency);
  sSelectRoute=(Spinner)findViewById(R.id.sSelectRoute);
  sSelectStop=(Spinner)findViewById(R.id.sSelectStop);
  bReset=(Button)findViewById(R.id.bReset);
  bMakeWidget=(Button)findViewById(R.id.bMakeWidget);
  tvHelpMessage=(TextView)findViewById(R.id.tvHelp);
  Log.v("String_Node_Str","String_Node_Str");
  settings=PreferenceManager.getDefaultSharedPreferences(getBaseContext());
  editor=settings.edit();
  PopulateAgenciesTask task=new PopulateAgenciesTask();
  task.execute();
  OnClickListener setResetClickedListener=new OnClickListener(){
    @Override public void onClick(    View v){
      doReset();
    }
  }
;
  OnClickListener setMakeWidgetClickedListener=new OnClickListener(){
    @Override public void onClick(    View v){
      doMakeWidget();
    }
  }
;
  OnClickListener setHelpClickedListener=new OnClickListener(){
    @Override public void onClick(    View view){
      Utils.showAlertDialog(WidgetConfigurationActivity.this,"String_Node_Str",getString(R.string.help_dialog));
    }
  }
;
  Intent intent=getIntent();
  Bundle extras=intent.getExtras();
  if (extras != null) {
    mAppWidgetId=extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID,AppWidgetManager.INVALID_APPWIDGET_ID);
  }
  bReset.setOnClickListener(setResetClickedListener);
  bMakeWidget.setOnClickListener(setMakeWidgetClickedListener);
  tvHelpMessage.setOnClickListener(setHelpClickedListener);
}