Program: 20681
Project: 20681
Buggy source:
public void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.describe);
  Uri uri=null;
  context=this;
  i=this.getIntent();
  if ((i.getAction() != null) && (i.getAction().equals(Intent.ACTION_SEND))) {
    try {
      uri=(Uri)i.getExtras().get(Intent.EXTRA_STREAM);
    }
 catch (    Exception e) {
      StackTraceLogger.getStackTraceString(e,TAG);
    }
  }
  ImageView image=(ImageView)findViewById(R.id.image);
  image.setImageURI(uri);
  SharedPreferences settings=getSharedPreferences("String_Node_Str",Context.MODE_PRIVATE);
  name=settings.getString("String_Node_Str","String_Node_Str");
  username=settings.getString("String_Node_Str","String_Node_Str");
  password=settings.getString("String_Node_Str","String_Node_Str");
  url=settings.getString("String_Node_Str","String_Node_Str");
  if ((url == null) || ("String_Node_Str".equals(url.trim()))) {
    Toast toast=Toast.makeText(getApplicationContext(),"String_Node_Str",Toast.LENGTH_SHORT);
    toast.show();
    return;
  }
  title=(TextView)this.findViewById(R.id.title);
  description=(TextView)this.findViewById(R.id.description);
  button=(Button)this.findViewById(R.id.depositbutton);
  button.setOnClickListener(new View.OnClickListener(){
    public void onClick(    View v){
      button.setText("String_Node_Str");
      button.setEnabled(false);
      dialog=ProgressDialog.show(context,"String_Node_Str","String_Node_Str",true);
      new DepositTask().execute();
    }
  }
);
}

Fixed version (ground truth):
public void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.describe);
  Uri uri=null;
  context=this;
  i=this.getIntent();
  if ((i.getAction() != null) && (i.getAction().equals(Intent.ACTION_SEND))) {
    try {
      uri=(Uri)i.getExtras().get(Intent.EXTRA_STREAM);
    }
 catch (    Exception e) {
      StackTraceLogger.getStackTraceString(e,TAG);
    }
  }
  ImageView image=(ImageView)findViewById(R.id.image);
  image.setImageURI(uri);
  SharedPreferences settings=getSharedPreferences("String_Node_Str",Context.MODE_PRIVATE);
  name=settings.getString("String_Node_Str","String_Node_Str");
  username=settings.getString("String_Node_Str","String_Node_Str");
  password=settings.getString("String_Node_Str","String_Node_Str");
  url=settings.getString("String_Node_Str","String_Node_Str");
  if ((url == null) || ("String_Node_Str".equals(url.trim()))) {
    Toast toast=Toast.makeText(getApplicationContext(),"String_Node_Str",Toast.LENGTH_SHORT);
    toast.show();
    return;
  }
  title=(TextView)this.findViewById(R.id.title);
  description=(TextView)this.findViewById(R.id.description);
  button=(Button)this.findViewById(R.id.depositbutton);
  button.setOnClickListener(new View.OnClickListener(){
    public void onClick(    View v){
      CharSequence text="String_Node_Str";
      if (("String_Node_Str".equals(title.getText().toString().trim())) && ("String_Node_Str".equals(description.getText().toString().trim()))) {
        text="String_Node_Str";
      }
 else       if ("String_Node_Str".equals(title.getText().toString().trim())) {
        text="String_Node_Str";
      }
 else       if ("String_Node_Str".equals(description.getText().toString().trim())) {
        text="String_Node_Str";
      }
      if (text.length() > 0) {
        Toast toast=Toast.makeText(context,text,Toast.LENGTH_SHORT);
        toast.show();
      }
 else {
        button.setText("String_Node_Str");
        button.setEnabled(false);
        dialog=ProgressDialog.show(context,"String_Node_Str","String_Node_Str",true);
        new DepositTask().execute();
      }
    }
  }
);
}