Program: 15215
Project: 15215
Buggy source:
@Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.add_account);
  this.setTitle("String_Node_Str" + getResources().getText(R.string.add_account));
  Bundle extras=getIntent().getExtras();
  if (extras != null) {
    wpcom=extras.getBoolean("String_Node_Str",false);
  }
  if (wpcom) {
    TextView urlLabel=(TextView)findViewById(R.id.l_url);
    urlLabel.setVisibility(View.GONE);
    EditText urlET=(EditText)findViewById(R.id.url);
    urlET.setVisibility(View.GONE);
  }
 else {
    ImageView logo=(ImageView)findViewById(R.id.wpcomLogo);
    logo.setImageDrawable(getResources().getDrawable(R.drawable.wplogo));
  }
  final Button settingsButton=(Button)findViewById(R.id.settingsButton);
  if (!wpcom) {
    settingsButton.setOnClickListener(new Button.OnClickListener(){
      public void onClick(      View v){
        Intent settings=new Intent(AddAccount.this,AddAcountSettings.class);
        settings.putExtra("String_Node_Str",httpuser);
        settings.putExtra("String_Node_Str",httppassword);
        startActivityForResult(settings,R.id.settingsButton);
      }
    }
);
  }
 else {
    settingsButton.setVisibility(View.GONE);
  }
  final Button cancelButton=(Button)findViewById(R.id.cancel);
  final Button saveButton=(Button)findViewById(R.id.save);
  saveButton.setOnClickListener(new Button.OnClickListener(){
    public void onClick(    View v){
      pd=ProgressDialog.show(AddAccount.this,getResources().getText(R.string.account_setup),getResources().getText(R.string.attempting_configure),true,false);
      Thread action=new Thread(){
        public void run(){
          Looper.prepare();
          configureAccount();
          Looper.loop();
        }
      }
;
      action.start();
    }
  }
);
  cancelButton.setOnClickListener(new Button.OnClickListener(){
    public void onClick(    View v){
      Bundle bundle=new Bundle();
      bundle.putString("String_Node_Str","String_Node_Str");
      Intent mIntent=new Intent();
      mIntent.putExtras(bundle);
      setResult(RESULT_OK,mIntent);
      finish();
    }
  }
);
  Button signUp=(Button)findViewById(R.id.wordpressdotcom);
  signUp.setOnClickListener(new Button.OnClickListener(){
    public void onClick(    View v){
      Intent signupIntent=new Intent(AddAccount.this,Signup.class);
      startActivity(signupIntent);
    }
  }
);
}

Fixed version (ground truth):
@Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.add_account);
  this.setTitle("String_Node_Str" + getResources().getText(R.string.add_account));
  if (WordPress.wpDB == null)   WordPress.wpDB=new WordPressDB(this);
  Bundle extras=getIntent().getExtras();
  if (extras != null) {
    wpcom=extras.getBoolean("String_Node_Str",false);
  }
  if (wpcom) {
    TextView urlLabel=(TextView)findViewById(R.id.l_url);
    urlLabel.setVisibility(View.GONE);
    EditText urlET=(EditText)findViewById(R.id.url);
    urlET.setVisibility(View.GONE);
  }
 else {
    ImageView logo=(ImageView)findViewById(R.id.wpcomLogo);
    logo.setImageDrawable(getResources().getDrawable(R.drawable.wplogo));
  }
  final Button settingsButton=(Button)findViewById(R.id.settingsButton);
  if (!wpcom) {
    settingsButton.setOnClickListener(new Button.OnClickListener(){
      public void onClick(      View v){
        Intent settings=new Intent(AddAccount.this,AddAcountSettings.class);
        settings.putExtra("String_Node_Str",httpuser);
        settings.putExtra("String_Node_Str",httppassword);
        startActivityForResult(settings,R.id.settingsButton);
      }
    }
);
  }
 else {
    settingsButton.setVisibility(View.GONE);
  }
  final Button cancelButton=(Button)findViewById(R.id.cancel);
  final Button saveButton=(Button)findViewById(R.id.save);
  saveButton.setOnClickListener(new Button.OnClickListener(){
    public void onClick(    View v){
      pd=ProgressDialog.show(AddAccount.this,getResources().getText(R.string.account_setup),getResources().getText(R.string.attempting_configure),true,false);
      Thread action=new Thread(){
        public void run(){
          Looper.prepare();
          configureAccount();
          Looper.loop();
        }
      }
;
      action.start();
    }
  }
);
  cancelButton.setOnClickListener(new Button.OnClickListener(){
    public void onClick(    View v){
      Bundle bundle=new Bundle();
      bundle.putString("String_Node_Str","String_Node_Str");
      Intent mIntent=new Intent();
      mIntent.putExtras(bundle);
      setResult(RESULT_OK,mIntent);
      finish();
    }
  }
);
  Button signUp=(Button)findViewById(R.id.wordpressdotcom);
  signUp.setOnClickListener(new Button.OnClickListener(){
    public void onClick(    View v){
      Intent signupIntent=new Intent(AddAccount.this,Signup.class);
      startActivity(signupIntent);
    }
  }
);
}