Program: 79913
Project: 79913
Buggy source:
@Override protected void onCreate(Bundle savedInstanceState){
  Boolean fullscreen=PreferenceManager.getDefaultSharedPreferences(this).getBoolean("String_Node_Str",false);
  if (fullscreen) {
    requestWindowFeature(Window.FEATURE_NO_TITLE);
    getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN);
  }
  super.onCreate(savedInstanceState);
  LayoutInflater inflater=(LayoutInflater)this.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
  if (inflater != null) {
    View contentView=inflater.inflate(R.layout.activity_radar,drawerLayout,false);
    drawerLayout.addView(contentView,0);
  }
  navigationView=findViewById(R.id.nav_view);
  Intent intent=getIntent();
  source=intent.getStringExtra("String_Node_Str");
  type=intent.getStringExtra("String_Node_Str");
  location=intent.getStringExtra("String_Node_Str");
  loop=intent.getBooleanExtra("String_Node_Str",false);
  enhanced=intent.getBooleanExtra("String_Node_Str",false);
  distance=intent.getIntExtra("String_Node_Str",50);
  needKey=source.equals("String_Node_Str") && !settings.getBoolean("String_Node_Str",false);
  if (needKey) {
    NeedKeyFragment needKeyFragment=new NeedKeyFragment();
    getFragmentManager().beginTransaction().replace(R.id.fragment_container,needKeyFragment).commit();
    return;
  }
 else {
    radarFragment=new RadarFragment();
    radarFragment.setArguments(intent.getExtras());
    getFragmentManager().beginTransaction().replace(R.id.fragment_container,radarFragment).commit();
  }
  ActionBar actionBar=getSupportActionBar();
  if (fullscreen && actionBar != null) {
    getSupportActionBar().hide();
    findViewById(R.id.radarLayout).setPadding(0,0,0,0);
  }
  int index;
switch (source) {
case "String_Node_Str":
    radarName=intent.getStringExtra("String_Node_Str");
  if (radarName == null)   radarName=getString(R.string.wunderground_title);
break;
case "String_Node_Str":
index=Arrays.asList(getResources().getStringArray(R.array.mosaic_values)).indexOf(location);
radarName=getResources().getStringArray(R.array.mosaic_names)[index];
break;
case "String_Node_Str":
index=Arrays.asList(getResources().getStringArray(R.array.location_values)).indexOf(location);
radarName=getResources().getStringArray(R.array.location_names)[index];
break;
}
if (intent.getBooleanExtra("String_Node_Str",false)) {
radarName=intent.getStringExtra("String_Node_Str");
currentFavorite=intent.getIntExtra("String_Node_Str",-1);
}
 else radarName=radarName.replaceAll("String_Node_Str","String_Node_Str");
if (radarName != null) setTitle(radarName);
scheduleRefresh();
}

Fixed version (ground truth):
@Override protected void onCreate(Bundle savedInstanceState){
  Boolean fullscreen=PreferenceManager.getDefaultSharedPreferences(this).getBoolean("String_Node_Str",false);
  if (fullscreen) {
    requestWindowFeature(Window.FEATURE_NO_TITLE);
    getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN);
  }
  super.onCreate(savedInstanceState);
  LayoutInflater inflater=(LayoutInflater)this.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
  if (inflater != null) {
    View contentView=inflater.inflate(R.layout.activity_radar,drawerLayout,false);
    drawerLayout.addView(contentView,0);
  }
  navigationView=findViewById(R.id.nav_view);
  Intent intent=getIntent();
  source=intent.getStringExtra("String_Node_Str");
  type=intent.getStringExtra("String_Node_Str");
  location=intent.getStringExtra("String_Node_Str");
  loop=intent.getBooleanExtra("String_Node_Str",false);
  enhanced=intent.getBooleanExtra("String_Node_Str",false);
  distance=intent.getIntExtra("String_Node_Str",50);
  if (source == null)   source="String_Node_Str";
  if (type == null)   type="String_Node_Str";
  if (location == null)   location="String_Node_Str";
  needKey=source.equals("String_Node_Str") && !settings.getBoolean("String_Node_Str",false);
  if (needKey) {
    NeedKeyFragment needKeyFragment=new NeedKeyFragment();
    getFragmentManager().beginTransaction().replace(R.id.fragment_container,needKeyFragment).commit();
    return;
  }
 else {
    radarFragment=new RadarFragment();
    radarFragment.setArguments(intent.getExtras());
    getFragmentManager().beginTransaction().replace(R.id.fragment_container,radarFragment).commit();
  }
  ActionBar actionBar=getSupportActionBar();
  if (fullscreen && actionBar != null) {
    getSupportActionBar().hide();
    findViewById(R.id.radarLayout).setPadding(0,0,0,0);
  }
  int index;
switch (source) {
case "String_Node_Str":
    radarName=intent.getStringExtra("String_Node_Str");
  if (radarName == null)   radarName=getString(R.string.wunderground_title);
break;
case "String_Node_Str":
index=Arrays.asList(getResources().getStringArray(R.array.mosaic_values)).indexOf(location);
radarName=getResources().getStringArray(R.array.mosaic_names)[index];
break;
case "String_Node_Str":
index=Arrays.asList(getResources().getStringArray(R.array.location_values)).indexOf(location);
radarName=getResources().getStringArray(R.array.location_names)[index];
break;
}
if (intent.getBooleanExtra("String_Node_Str",false)) {
radarName=intent.getStringExtra("String_Node_Str");
currentFavorite=intent.getIntExtra("String_Node_Str",-1);
}
 else radarName=radarName.replaceAll("String_Node_Str","String_Node_Str");
if (radarName != null) setTitle(radarName);
scheduleRefresh();
}