Program: 179630
Project: 179630
Buggy source:
@Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  this.setContentView(R.layout.neighbourhood_activity);
  this.place=(Place)this.getIntent().getSerializableExtra("String_Node_Str");
  getSupportActionBar().setDisplayHomeAsUpEnabled(true);
  TextView title=(TextView)findViewById(R.id.annot_title);
  title.setText(place.getName());
  TextView tAddress=(TextView)findViewById(R.id.tAddress);
  if (place.getAddress() != null) {
    tAddress.setText(StringUtils.join(place.getAddress(),"String_Node_Str"));
  }
 else {
    tAddress.setVisibility(View.GONE);
  }
  TextView tDescription=(TextView)findViewById(R.id.tDescription);
  if (place.getDescription() != null) {
    tDescription.setText(place.getDescription());
  }
 else {
    tDescription.setVisibility(View.GONE);
  }
  TextView tUrl=(TextView)findViewById(R.id.tUrl);
  if (place.getUrl() != null) {
    tUrl.setText(place.getUrl());
  }
 else {
    tUrl.setVisibility(View.GONE);
  }
  if (place.getGps() != null) {
    LinearLayout header=(LinearLayout)findViewById(R.id.lPlaceHeader);
    header.setClickable(true);
    header.setOnClickListener(new View.OnClickListener(){
      @Override public void onClick(      View v){
        if (place.getGps() != null) {
          String uri=String.format(Locale.ENGLISH,"String_Node_Str",place.getGps().lat,place.getGps().lon,place.getName());
          Intent intent=new Intent(Intent.ACTION_VIEW,Uri.parse(uri));
          startActivity(intent);
        }
      }
    }
);
  }
  this.setupOpening();
}

Fixed version (ground truth):
@Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  this.setContentView(R.layout.neighbourhood_activity);
  this.place=(Place)this.getIntent().getSerializableExtra("String_Node_Str");
  getSupportActionBar().setDisplayHomeAsUpEnabled(true);
  TextView title=(TextView)findViewById(R.id.annot_title);
  title.setText(place.getName());
  TextView tAddress=(TextView)findViewById(R.id.tAddress);
  if (place.getAddress() != null) {
    tAddress.setText(StringUtils.join(place.getAddress(),"String_Node_Str"));
  }
 else {
    tAddress.setVisibility(View.GONE);
  }
  TextView tDescription=(TextView)findViewById(R.id.tDescription);
  if (place.getDescription() != null) {
    tDescription.setText(place.getDescription());
  }
 else {
    tDescription.setVisibility(View.GONE);
  }
  TextView tUrl=(TextView)findViewById(R.id.tUrl);
  if (place.getUrl() != null) {
    tUrl.setText(place.getUrl());
  }
 else {
    tUrl.setVisibility(View.GONE);
  }
  if (place.getGps() != null) {
    LinearLayout header=(LinearLayout)findViewById(R.id.lPlaceHeader);
    header.setClickable(true);
    header.setOnClickListener(new View.OnClickListener(){
      @Override public void onClick(      View v){
        if (place.getGps() != null) {
          String uri=String.format(Locale.ENGLISH,"String_Node_Str",place.getGps().lat,place.getGps().lon,place.getName());
          Intent intent=new Intent(Intent.ACTION_VIEW,Uri.parse(uri));
          PackageManager manager=getPackageManager();
          List<ResolveInfo> infos=manager.queryIntentActivities(intent,0);
          if (infos.size() > 0) {
            startActivity(intent);
          }
        }
      }
    }
);
  }
  this.setupOpening();
}