Program: 187830
Project: 187830
Buggy source:
public void onCreate(Bundle icicle){
  super.onCreate(icicle);
  if (debug)   Log.d(TAG,"String_Node_Str");
  frontdoor=new Intent(this,FrontDoor.class);
  if (!CategoryList.isSignedIn()) {
    startActivity(frontdoor);
  }
  restartTimerIntent=new Intent(CryptoIntents.ACTION_RESTART_TIMER);
  String title=getResources().getString(R.string.app_name) + "String_Node_Str" + getResources().getString(R.string.edit_entry);
  setTitle(title);
  setContentView(R.layout.pass_edit);
  descriptionText=(EditText)findViewById(R.id.description);
  passwordText=(EditText)findViewById(R.id.password);
  usernameText=(EditText)findViewById(R.id.username);
  noteText=(EditText)findViewById(R.id.note);
  websiteText=(EditText)findViewById(R.id.website);
  Button goButton=(Button)findViewById(R.id.go);
  RowId=icicle != null ? icicle.getLong(PassList.KEY_ID) : null;
  if (RowId == null) {
    Bundle extras=getIntent().getExtras();
    RowId=extras != null ? extras.getLong(PassList.KEY_ID) : null;
  }
  entryEdited=false;
  goButton.setOnClickListener(new View.OnClickListener(){
    public void onClick(    View arg0){
      Toast.makeText(PassEdit.this,R.string.copy_to_clipboard,Toast.LENGTH_SHORT).show();
      ClipboardManager cb=(ClipboardManager)getSystemService(CLIPBOARD_SERVICE);
      cb.setText(passwordText.getText().toString());
      Intent i=new Intent(Intent.ACTION_VIEW);
      String link=websiteText.getText().toString();
      Uri u=Uri.parse(link);
      i.setData(u);
      try {
        startActivity(i);
      }
 catch (      ActivityNotFoundException e) {
        u=Uri.parse("String_Node_Str" + link);
        i.setData(u);
        try {
          startActivity(i);
        }
 catch (        ActivityNotFoundException e2) {
          Toast.makeText(PassEdit.this,R.string.invalid_website,Toast.LENGTH_SHORT).show();
        }
      }
    }
  }
);
  restoreMe();
  sendBroadcast(restartTimerIntent);
}

Fixed version (ground truth):
public void onCreate(Bundle icicle){
  super.onCreate(icicle);
  if (debug)   Log.d(TAG,"String_Node_Str");
  frontdoor=new Intent(this,FrontDoor.class);
  if (CategoryList.isSignedIn() == false) {
    startActivity(frontdoor);
  }
  restartTimerIntent=new Intent(CryptoIntents.ACTION_RESTART_TIMER);
  String title=getResources().getString(R.string.app_name) + "String_Node_Str" + getResources().getString(R.string.edit_entry);
  setTitle(title);
  setContentView(R.layout.pass_edit);
  descriptionText=(EditText)findViewById(R.id.description);
  passwordText=(EditText)findViewById(R.id.password);
  usernameText=(EditText)findViewById(R.id.username);
  noteText=(EditText)findViewById(R.id.note);
  websiteText=(EditText)findViewById(R.id.website);
  Button goButton=(Button)findViewById(R.id.go);
  RowId=icicle != null ? icicle.getLong(PassList.KEY_ID) : null;
  if (RowId == null) {
    Bundle extras=getIntent().getExtras();
    RowId=extras != null ? extras.getLong(PassList.KEY_ID) : null;
  }
  entryEdited=false;
  goButton.setOnClickListener(new View.OnClickListener(){
    public void onClick(    View arg0){
      Toast.makeText(PassEdit.this,R.string.copy_to_clipboard,Toast.LENGTH_SHORT).show();
      ClipboardManager cb=(ClipboardManager)getSystemService(CLIPBOARD_SERVICE);
      cb.setText(passwordText.getText().toString());
      Intent i=new Intent(Intent.ACTION_VIEW);
      String link=websiteText.getText().toString();
      Uri u=Uri.parse(link);
      i.setData(u);
      try {
        startActivity(i);
      }
 catch (      ActivityNotFoundException e) {
        u=Uri.parse("String_Node_Str" + link);
        i.setData(u);
        try {
          startActivity(i);
        }
 catch (        ActivityNotFoundException e2) {
          Toast.makeText(PassEdit.this,R.string.invalid_website,Toast.LENGTH_SHORT).show();
        }
      }
    }
  }
);
  restoreMe();
  sendBroadcast(restartTimerIntent);
}