Program: 187934
Project: 187934
Buggy source:
@Override protected void onCreate(Bundle icicle){
  super.onCreate(icicle);
  mMainView=new LinearLayout(this);
  mMainView.setGravity(Gravity.LEFT);
  mMainView.setOrientation(LinearLayout.VERTICAL);
  setContentView(mMainView);
  setTheme(android.R.style.Theme_Dialog);
  mLocation=new Location(this.getContentResolver());
  mTag=new Tag(this);
  News.mContentResolver=this.getContentResolver();
  Button button=createButton();
  button.setText(R.string.init_add_all_values);
  button.setOnClickListener(new View.OnClickListener(){
    public void onClick(    View view){
      addLocations();
      addNewsFeeds();
      Toast.makeText(InitView.this,R.string.init_done,Toast.LENGTH_SHORT).show();
    }
  }
);
  button=createButton();
  button.setText(R.string.init_add_locations);
  button.setOnClickListener(new View.OnClickListener(){
    public void onClick(    View view){
      addLocations();
      Toast.makeText(InitView.this,R.string.init_done,Toast.LENGTH_SHORT).show();
    }
  }
);
  button=createButton();
  button.setText(R.string.init_add_news_feeds);
  button.setOnClickListener(new View.OnClickListener(){
    public void onClick(    View view){
      addNewsFeeds();
      Toast.makeText(InitView.this,R.string.init_done,Toast.LENGTH_SHORT).show();
    }
  }
);
}

Fixed version (ground truth):
@Override protected void onCreate(Bundle icicle){
  super.onCreate(icicle);
  mMainView=new LinearLayout(this);
  mMainView.setGravity(Gravity.LEFT);
  mMainView.setOrientation(LinearLayout.VERTICAL);
  setContentView(mMainView);
  setTheme(android.R.style.Theme_Dialog);
  mLocation=new Location(this.getContentResolver());
  mTag=new Tag(this);
  News.mContentResolver=this.getContentResolver();
  Button button=createButton();
  button.setText(R.string.init_add_all_values);
  button.setOnClickListener(new View.OnClickListener(){
    public void onClick(    View view){
      addLocations();
      addNewsFeeds();
      Toast.makeText(InitView.this,R.string.init_done,Toast.LENGTH_SHORT).show();
    }
  }
);
  button=createButton();
  button.setText(R.string.init_add_locations);
  button.setOnClickListener(new View.OnClickListener(){
    public void onClick(    View view){
      addLocations();
      Toast.makeText(InitView.this,R.string.init_done,Toast.LENGTH_SHORT).show();
    }
  }
);
  TextView t=new TextView(this);
  android.widget.LinearLayout.LayoutParams params=new LinearLayout.LayoutParams(android.widget.LinearLayout.LayoutParams.FILL_PARENT,LinearLayout.LayoutParams.WRAP_CONTENT);
  t.setLayoutParams(params);
  t.setHeight(40);
  t.setWidth(1);
  mMainView.addView(t);
  button=createButton();
  button.setText(R.string.init_view_locations);
  button.setOnClickListener(new View.OnClickListener(){
    public void onClick(    View view){
      Intent intent=new Intent();
      intent.setClassName("String_Node_Str","String_Node_Str");
      intent.addCategory(Intent.DEFAULT_CATEGORY);
      startActivity(intent);
    }
  }
);
  button=createButton();
  button.setText(R.string.init_view_news);
  button.setOnClickListener(new View.OnClickListener(){
    public void onClick(    View view){
      Intent intent=new Intent();
      intent.setAction("String_Node_Str");
      intent.addCategory(Intent.DEFAULT_CATEGORY);
      startActivity(intent);
    }
  }
);
}