Program: 170959
Project: 170959
Buggy source:
@Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.activity_main);
  PackageManager pm=getPackageManager();
  ViewUtils.Debug(this,"String_Node_Str" + Build.VERSION.SDK_INT + "String_Node_Str"+ pm.getInstallerPackageName(getPackageName()));
  actionBar=getSupportActionBar();
  actionBar.setDisplayHomeAsUpEnabled(true);
  actionBar.setHomeButtonEnabled(true);
  actionBar.setShowHideAnimationEnabled(true);
  actionBar.setBackgroundDrawable(CompatUtils.getDrawable(this,R.drawable.action_bar_background));
  actionBar.setElevation(3);
  CompatUtils.addOnMenuVisibilityListener(actionBar,this);
  mDrawerLayout=(DrawerLayout)findViewById(R.id.main_drawer_layout);
  mDrawerList=(ListView)findViewById(R.id.main_left_drawer);
  mDrawerLayout.setDrawerShadow(R.drawable.drawer_shadow,GravityCompat.START);
  drawerListAdapter=new DrawerListAdapter(this);
  mDrawerList.setAdapter(drawerListAdapter);
  mDrawerList.setOnItemClickListener(new DrawerItemClickListener());
  mDrawerToggle=new ActionBarDrawerToggle(this,mDrawerLayout,R.drawable.ic_drawer,R.string.drawer_open){
    public void onDrawerClosed(    View view){
      supportInvalidateOptionsMenu();
    }
    public void onDrawerOpened(    View drawerView){
      supportInvalidateOptionsMenu();
    }
  }
;
  mDrawerLayout.setDrawerListener(mDrawerToggle);
  activeActionModes=new ArrayList<android.support.v7.view.ActionMode>();
  Intent intent=getIntent();
  if (intent != null) {
    externalUri=intent.getData();
  }
  if (savedInstanceState == null) {
    selectItem(BaseFragment.WORKSHEET_FRAGMENT_ID,BaseFragment.INVALID_ACTION_ID);
  }
}

Fixed version (ground truth):
@Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.activity_main);
  PackageManager pm=getPackageManager();
  ViewUtils.Debug(this,"String_Node_Str" + Build.VERSION.SDK_INT + "String_Node_Str"+ pm.getInstallerPackageName(getPackageName()));
  actionBar=getSupportActionBar();
  actionBar.setDisplayHomeAsUpEnabled(true);
  actionBar.setHomeButtonEnabled(true);
  actionBar.setShowHideAnimationEnabled(true);
  actionBar.setBackgroundDrawable(CompatUtils.getDrawable(this,R.drawable.action_bar_background));
  actionBar.setElevation(3);
  CompatUtils.addOnMenuVisibilityListener(actionBar,this);
  mDrawerLayout=(DrawerLayout)findViewById(R.id.main_drawer_layout);
  mDrawerList=(ListView)findViewById(R.id.main_left_drawer);
  mDrawerLayout.setDrawerShadow(R.drawable.drawer_shadow,GravityCompat.START);
  drawerListAdapter=new DrawerListAdapter(this);
  mDrawerList.setAdapter(drawerListAdapter);
  mDrawerList.setOnItemClickListener(new DrawerItemClickListener());
  mDrawerToggle=new ActionBarDrawerToggle(this,mDrawerLayout,R.drawable.ic_drawer,R.string.drawer_open){
    public void onDrawerClosed(    View view){
      supportInvalidateOptionsMenu();
    }
    public void onDrawerOpened(    View drawerView){
      supportInvalidateOptionsMenu();
    }
  }
;
  CompatUtils.setDrawerListener(mDrawerLayout,mDrawerToggle);
  activeActionModes=new ArrayList<android.support.v7.view.ActionMode>();
  Intent intent=getIntent();
  if (intent != null) {
    externalUri=intent.getData();
  }
  if (savedInstanceState == null) {
    selectItem(BaseFragment.WORKSHEET_FRAGMENT_ID,BaseFragment.INVALID_ACTION_ID);
  }
}