Program: 34054
Project: 34054
Buggy source:
@Override public boolean onOptionsItemSelected(MenuItem item){
  int itemId=item.getItemId();
  try {
    if (itemId == R.id.video_menu_camera_settings) {
      editStarted=true;
      Intent viewIntent=new Intent(VideoActivity.this,ViewCameraActivity.class);
      startActivityForResult(viewIntent,Constants.REQUEST_CODE_VIEW_CAMERA);
    }
 else     if (itemId == android.R.id.home) {
      navigateBackToCameraList();
    }
 else     if (itemId == R.id.video_menu_share) {
      startActivity(new Intent(VideoActivity.this,SharingActivity.class));
    }
 else     if (itemId == R.id.video_menu_feedback) {
      feedbackStarted=true;
      Intent feedbackIntent=new Intent(VideoActivity.this,FeedbackActivity.class);
      feedbackIntent.putExtra(Constants.BUNDLE_KEY_CAMERA_ID,evercamCamera.getCameraId());
      startActivityForResult(feedbackIntent,Constants.REQUEST_CODE_FEEDBACK);
    }
 else     if (itemId == R.id.video_menu_view_snapshots) {
      SnapshotManager.showSnapshotsForCamera(this,evercamCamera.getCameraId());
    }
 else     if (itemId == R.id.video_menu_create_shortcut) {
      if (evercamCamera != null) {
        Bitmap bitmap=getBitmapFromImageView(imageView);
        HomeShortcut.create(getApplicationContext(),evercamCamera,bitmap);
        CustomToast.showSuperToastShort(this,R.string.msg_shortcut_created);
        EvercamPlayApplication.sendEventAnalytics(this,R.string.category_shortcut,R.string.action_shortcut_create,R.string.label_shortcut_create);
        new ShortcutFeedbackItem(this,AppData.defaultUser.getUsername(),evercamCamera.getCameraId(),ShortcutFeedbackItem.ACTION_TYPE_CREATE,ShortcutFeedbackItem.RESULT_TYPE_SUCCESS).sendToKeenIo(client);
        getMixpanel().sendEvent(R.string.mixpanel_event_create_shortcut,new JSONObject().put("String_Node_Str",evercamCamera.getCameraId()));
      }
    }
 else     if (itemId == R.id.video_menu_view_recordings) {
      if (evercamCamera != null) {
        recordingsStarted=true;
        Intent recordingIntent=new Intent(this,RecordingWebActivity.class);
        recordingIntent.putExtra(Constants.BUNDLE_KEY_CAMERA_ID,evercamCamera.getCameraId());
        startActivityForResult(recordingIntent,Constants.REQUEST_CODE_RECORDING);
      }
    }
  }
 catch (  OutOfMemoryError e) {
    Log.e(TAG,e.toString() + "String_Node_Str" + Log.getStackTraceString(e));
  }
catch (  Exception e) {
    Log.e(TAG,e.toString() + "String_Node_Str" + Log.getStackTraceString(e));
    sendToMint(e);
  }
  return true;
}

Fixed version (ground truth):
@Override public boolean onOptionsItemSelected(MenuItem item){
  int itemId=item.getItemId();
  try {
    if (itemId == R.id.video_menu_camera_settings) {
      editStarted=true;
      Intent viewIntent=new Intent(VideoActivity.this,ViewCameraActivity.class);
      startActivityForResult(viewIntent,Constants.REQUEST_CODE_VIEW_CAMERA);
    }
 else     if (itemId == android.R.id.home) {
      navigateBackToCameraList();
    }
 else     if (itemId == R.id.video_menu_share) {
      startActivity(new Intent(VideoActivity.this,SharingActivity.class));
    }
 else     if (itemId == R.id.video_menu_feedback) {
      feedbackStarted=true;
      Intent feedbackIntent=new Intent(VideoActivity.this,FeedbackActivity.class);
      if (evercamCamera != null) {
        feedbackIntent.putExtra(Constants.BUNDLE_KEY_CAMERA_ID,evercamCamera.getCameraId());
      }
      startActivityForResult(feedbackIntent,Constants.REQUEST_CODE_FEEDBACK);
    }
 else     if (itemId == R.id.video_menu_view_snapshots) {
      SnapshotManager.showSnapshotsForCamera(this,evercamCamera.getCameraId());
    }
 else     if (itemId == R.id.video_menu_create_shortcut) {
      if (evercamCamera != null) {
        Bitmap bitmap=getBitmapFromImageView(imageView);
        HomeShortcut.create(getApplicationContext(),evercamCamera,bitmap);
        CustomToast.showSuperToastShort(this,R.string.msg_shortcut_created);
        EvercamPlayApplication.sendEventAnalytics(this,R.string.category_shortcut,R.string.action_shortcut_create,R.string.label_shortcut_create);
        new ShortcutFeedbackItem(this,AppData.defaultUser.getUsername(),evercamCamera.getCameraId(),ShortcutFeedbackItem.ACTION_TYPE_CREATE,ShortcutFeedbackItem.RESULT_TYPE_SUCCESS).sendToKeenIo(client);
        getMixpanel().sendEvent(R.string.mixpanel_event_create_shortcut,new JSONObject().put("String_Node_Str",evercamCamera.getCameraId()));
      }
    }
 else     if (itemId == R.id.video_menu_view_recordings) {
      if (evercamCamera != null) {
        recordingsStarted=true;
        Intent recordingIntent=new Intent(this,RecordingWebActivity.class);
        recordingIntent.putExtra(Constants.BUNDLE_KEY_CAMERA_ID,evercamCamera.getCameraId());
        startActivityForResult(recordingIntent,Constants.REQUEST_CODE_RECORDING);
      }
    }
  }
 catch (  OutOfMemoryError e) {
    Log.e(TAG,e.toString() + "String_Node_Str" + Log.getStackTraceString(e));
  }
catch (  Exception e) {
    Log.e(TAG,e.toString() + "String_Node_Str" + Log.getStackTraceString(e));
    sendToMint(e);
  }
  return true;
}