Program: 187836
Project: 187836
Buggy source:
public void onCreate(Bundle icicle){
  super.onCreate(icicle);
  if (debug)   Log.d(TAG,"String_Node_Str");
  if (!CategoryList.isSignedIn()) {
    finish();
  }
  String title=getResources().getString(R.string.app_name) + "String_Node_Str" + getResources().getString(R.string.view_entry);
  setTitle(title);
  setContentView(R.layout.pass_view);
  descriptionText=(TextView)findViewById(R.id.description);
  websiteText=(TextView)findViewById(R.id.website);
  usernameText=(TextView)findViewById(R.id.username);
  passwordText=(TextView)findViewById(R.id.password);
  noteText=(TextView)findViewById(R.id.note);
  lastEditedText=(TextView)findViewById(R.id.last_edited);
  uniqueNameText=(TextView)findViewById(R.id.uniquename);
  packageAccessText=(TextView)findViewById(R.id.packageaccess);
  entryEdited=false;
  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;
  }
  CategoryId=icicle != null ? icicle.getLong(PassList.KEY_CATEGORY_ID) : null;
  if (CategoryId == null) {
    Bundle extras=getIntent().getExtras();
    CategoryId=extras != null ? extras.getLong(PassList.KEY_CATEGORY_ID) : null;
  }
  populateFields();
  goButton.setOnClickListener(new View.OnClickListener(){
    public void onClick(    View arg0){
      Toast.makeText(PassView.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(PassView.this,R.string.invalid_website,Toast.LENGTH_SHORT).show();
        }
      }
    }
  }
);
}

Fixed version (ground truth):
public void onCreate(Bundle icicle){
  super.onCreate(icicle);
  if (debug)   Log.d(TAG,"String_Node_Str");
  if (CategoryList.isSignedIn() == false) {
    finish();
    return;
  }
  String title=getResources().getString(R.string.app_name) + "String_Node_Str" + getResources().getString(R.string.view_entry);
  setTitle(title);
  setContentView(R.layout.pass_view);
  descriptionText=(TextView)findViewById(R.id.description);
  websiteText=(TextView)findViewById(R.id.website);
  usernameText=(TextView)findViewById(R.id.username);
  passwordText=(TextView)findViewById(R.id.password);
  noteText=(TextView)findViewById(R.id.note);
  lastEditedText=(TextView)findViewById(R.id.last_edited);
  uniqueNameText=(TextView)findViewById(R.id.uniquename);
  packageAccessText=(TextView)findViewById(R.id.packageaccess);
  entryEdited=false;
  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;
  }
  CategoryId=icicle != null ? icicle.getLong(PassList.KEY_CATEGORY_ID) : null;
  if (CategoryId == null) {
    Bundle extras=getIntent().getExtras();
    CategoryId=extras != null ? extras.getLong(PassList.KEY_CATEGORY_ID) : null;
  }
  populateFields();
  goButton.setOnClickListener(new View.OnClickListener(){
    public void onClick(    View arg0){
      Toast.makeText(PassView.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(PassView.this,R.string.invalid_website,Toast.LENGTH_SHORT).show();
        }
      }
    }
  }
);
}