Program: 33601
Project: 33601
Buggy source:
@Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  super.setContentView(R.layout.activity_mytba_settings);
  mCoordinatorLayout=(CoordinatorLayout)findViewById(R.id.coordinator);
  mSettingsContainer=(RelativeLayout)findViewById(R.id.settings);
  mToggleSettingsPanelButton=(FloatingActionButton)findViewById(R.id.toggle_settings_button);
  mForegroundDim=findViewById(R.id.activity_foreground_dim);
  mSettingsToolbar=(Toolbar)findViewById(R.id.settings_toolbar);
  mToggleSettingsPanelButton.setOnClickListener(this);
  mSettingsToolbar.setNavigationIcon(R.drawable.ic_close_black_24dp);
  mSettingsToolbar.setTitle("String_Node_Str");
  mSettingsToolbar.setNavigationOnClickListener(v -> onSettingsCloseButtonClick());
  mSettingsToolbar.setNavigationContentDescription(R.string.close);
  ViewCompat.setElevation(mSettingsToolbar,getResources().getDimension(R.dimen.toolbar_elevation));
  mIsMyTBAEnabled=AccountHelper.isMyTBAEnabled(this);
  if (!mIsMyTBAEnabled) {
    hideFab(false);
  }
  setupFabIconForSettingsPanelOpen(false);
  if (savedInstanceState != null) {
    mIsSettingsPanelOpen=savedInstanceState.getBoolean(SETTINGS_PANEL_OPEN);
    setupFabIconForSettingsPanelOpen(mIsSettingsPanelOpen);
    if (mIsSettingsPanelOpen) {
      mSettingsContainer.setVisibility(View.VISIBLE);
      getDrawerLayout().setStatusBarBackgroundColor(getResources().getColor(R.color.accent_dark));
      Utilities.setLightStatusBar(getWindow(),true);
    }
 else {
      mSettingsContainer.setVisibility(View.INVISIBLE);
    }
    savedPreferenceState=savedInstanceState.getBundle(MyTBASettingsFragment.SAVED_STATE_BUNDLE);
  }
  mSaveSettingsTaskFragment=(UpdateUserModelSettingsTaskFragment)getSupportFragmentManager().findFragmentByTag(SAVE_SETTINGS_TASK_FRAGMENT_TAG);
}

Fixed version (ground truth):
@Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  super.setContentView(R.layout.activity_mytba_settings);
  mCoordinatorLayout=(CoordinatorLayout)findViewById(R.id.coordinator);
  mSettingsContainer=(RelativeLayout)findViewById(R.id.settings);
  mToggleSettingsPanelButton=(FloatingActionButton)findViewById(R.id.toggle_settings_button);
  mForegroundDim=findViewById(R.id.activity_foreground_dim);
  mSettingsToolbar=(Toolbar)findViewById(R.id.settings_toolbar);
  mToggleSettingsPanelButton.setOnClickListener(this);
  mSettingsToolbar.setNavigationIcon(R.drawable.ic_close_black_24dp);
  mSettingsToolbar.setTitle("String_Node_Str");
  mSettingsToolbar.setNavigationOnClickListener(v -> onSettingsCloseButtonClick());
  mSettingsToolbar.setNavigationContentDescription(R.string.close);
  ViewCompat.setElevation(mSettingsToolbar,getResources().getDimension(R.dimen.toolbar_elevation));
  mIsMyTBAEnabled=AccountHelper.isMyTBAEnabled(this);
  mFabVisible=(mToggleSettingsPanelButton.getVisibility() == View.VISIBLE);
  syncFabVisibilityWithMyTbaEnabled(false);
  setupFabIconForSettingsPanelOpen(false);
  if (savedInstanceState != null) {
    mIsSettingsPanelOpen=savedInstanceState.getBoolean(SETTINGS_PANEL_OPEN);
    setupFabIconForSettingsPanelOpen(mIsSettingsPanelOpen);
    if (mIsSettingsPanelOpen) {
      mSettingsContainer.setVisibility(View.VISIBLE);
      getDrawerLayout().setStatusBarBackgroundColor(getResources().getColor(R.color.accent_dark));
      Utilities.setLightStatusBar(getWindow(),true);
    }
 else {
      mSettingsContainer.setVisibility(View.INVISIBLE);
    }
    savedPreferenceState=savedInstanceState.getBundle(MyTBASettingsFragment.SAVED_STATE_BUNDLE);
  }
  mSaveSettingsTaskFragment=(UpdateUserModelSettingsTaskFragment)getSupportFragmentManager().findFragmentByTag(SAVE_SETTINGS_TASK_FRAGMENT_TAG);
}