Program: 13783
Project: 13783
Buggy source:
@Override public View onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState){
  View view=inflater.inflate(R.layout.fragment_aztec_editor,container,false);
  mUploadingMedia=new HashMap<>();
  mFailedMediaIds=new HashSet<>();
  title=(AztecText)view.findViewById(R.id.title);
  content=(AztecText)view.findViewById(R.id.aztec);
  source=(SourceViewEditText)view.findViewById(R.id.source);
  source.setHint("String_Node_Str" + getString(R.string.edit_hint) + "String_Node_Str");
  formattingToolbar=(AztecToolbar)view.findViewById(R.id.formatting_toolbar);
  formattingToolbar.setExpanded(mIsToolbarExpanded);
  title.setOnFocusChangeListener(new View.OnFocusChangeListener(){
    @Override public void onFocusChange(    View view,    boolean hasFocus){
      formattingToolbar.enableFormatButtons(!hasFocus);
    }
  }
);
  content.setOnDragListener(mOnDragListener);
  source.setOnDragListener(mOnDragListener);
  setHasOptionsMenu(true);
  invalidateOptionsHandler=new Handler();
  invalidateOptionsRunnable=new Runnable(){
    @Override public void run(){
      getActivity().invalidateOptionsMenu();
    }
  }
;
  AppCompatTextView titleBeta=(AppCompatTextView)view.findViewById(R.id.title_beta);
  titleBeta.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View view){
      mEditorBetaClickListener.onBetaClicked();
    }
  }
);
  Aztec.Factory.with(content,source,formattingToolbar,this).setImageGetter(imageLoader).setOnImeBackListener(this).setHistoryListener(this).setOnImageTappedListener(this).addPlugin(new WordPressCommentsPlugin(content)).addPlugin(new MoreToolbarButton(content));
  mEditorFragmentListener.onEditorFragmentInitialized();
  return view;
}

Fixed version (ground truth):
@Override public View onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState){
  View view=inflater.inflate(R.layout.fragment_aztec_editor,container,false);
  mUploadingMedia=new HashMap<>();
  mFailedMediaIds=new HashSet<>();
  title=(AztecText)view.findViewById(R.id.title);
  content=(AztecText)view.findViewById(R.id.aztec);
  source=(SourceViewEditText)view.findViewById(R.id.source);
  source.setHint("String_Node_Str" + getString(R.string.edit_hint) + "String_Node_Str");
  formattingToolbar=(AztecToolbar)view.findViewById(R.id.formatting_toolbar);
  formattingToolbar.setExpanded(mIsToolbarExpanded);
  title.setOnFocusChangeListener(new View.OnFocusChangeListener(){
    @Override public void onFocusChange(    View view,    boolean hasFocus){
      formattingToolbar.enableFormatButtons(!hasFocus);
    }
  }
);
  content.setOnDragListener(mOnDragListener);
  source.setOnDragListener(mOnDragListener);
  setHasOptionsMenu(true);
  invalidateOptionsHandler=new Handler();
  invalidateOptionsRunnable=new Runnable(){
    @Override public void run(){
      if (isAdded()) {
        getActivity().invalidateOptionsMenu();
      }
    }
  }
;
  AppCompatTextView titleBeta=(AppCompatTextView)view.findViewById(R.id.title_beta);
  titleBeta.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View view){
      mEditorBetaClickListener.onBetaClicked();
    }
  }
);
  Aztec.Factory.with(content,source,formattingToolbar,this).setImageGetter(imageLoader).setOnImeBackListener(this).setHistoryListener(this).setOnImageTappedListener(this).addPlugin(new WordPressCommentsPlugin(content)).addPlugin(new MoreToolbarButton(content));
  mEditorFragmentListener.onEditorFragmentInitialized();
  return view;
}