Program: 167598
Project: 167598
Buggy source:
@Override public View onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState){
  setHasOptionsMenu(true);
  FragmentActivity faActivity=(FragmentActivity)super.getActivity();
  LinearLayout llLayout=(LinearLayout)inflater.inflate(R.layout.conversations,container,false);
  serverId=super.getActivity().getIntent().getExtras().getInt("String_Node_Str");
  server=Hermes.getInstance().getServerById(serverId);
  Settings settings=new Settings(super.getActivity());
  if (server == null) {
    super.getActivity().finish();
  }
  super.getActivity().setTitle(server.getTitle());
  boolean isLandscape=(getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE);
  EditText input=(EditText)llLayout.findViewById(R.id.input);
  input.setOnKeyListener(inputKeyListener);
  pager=(ViewPager)llLayout.findViewById(R.id.pager);
  pagerAdapter=new ConversationPagerAdapter(getActivity(),server);
  pager.setAdapter(pagerAdapter);
  final float density=getResources().getDisplayMetrics().density;
  indicator=(ConversationIndicator)llLayout.findViewById(R.id.titleIndicator);
  indicator.setServer(server);
  indicator.setViewPager(pager);
  indicator.setFooterColor(Color.parseColor("String_Node_Str"));
  indicator.setFooterLineHeight(1);
  indicator.setPadding(10,10,10,10);
  indicator.setFooterIndicatorStyle(IndicatorStyle.None);
  indicator.setSelectedColor(0xFF222222);
  indicator.setSelectedBold(false);
  indicator.setBackgroundColor(Color.parseColor("String_Node_Str"));
  historySize=settings.getHistorySize();
  if (server.getStatus() == Status.PRE_CONNECTING) {
    server.clearConversations();
    pagerAdapter.clearConversations();
    server.getConversation(ServerInfo.DEFAULT_NAME).setHistorySize(historySize);
  }
  float fontSize=settings.getFontSize();
  indicator.setTextSize(TypedValue.COMPLEX_UNIT_SP,35);
  input.setTypeface(Typeface.SANS_SERIF);
  Collection<Conversation> mConversations=server.getConversations();
  for (  Conversation conversation : mConversations) {
    if (conversation.getStatus() == Conversation.STATUS_SELECTED) {
      onNewConversation(conversation.getName());
    }
 else {
      createNewConversation(conversation.getName());
    }
  }
  int setInputTypeFlags=0;
  setInputTypeFlags|=InputType.TYPE_TEXT_FLAG_AUTO_CORRECT;
  if (settings.autoCapSentences()) {
    setInputTypeFlags|=InputType.TYPE_TEXT_FLAG_CAP_SENTENCES;
  }
  if (isLandscape && settings.imeExtract()) {
    setInputTypeFlags|=InputType.TYPE_TEXT_VARIATION_SHORT_MESSAGE;
  }
  if (!settings.imeExtract()) {
    input.setImeOptions(input.getImeOptions() | EditorInfo.IME_FLAG_NO_EXTRACT_UI);
  }
  input.setInputType(input.getInputType() | setInputTypeFlags);
  input.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      openSoftKeyboard(v);
    }
  }
);
  scrollback=new Scrollback();
  llLayout.findViewById(R.id.conversationFragment);
  return llLayout;
}

Fixed version (ground truth):
@Override public View onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState){
  setHasOptionsMenu(true);
  FragmentActivity faActivity=(FragmentActivity)super.getActivity();
  LinearLayout llLayout=(LinearLayout)inflater.inflate(R.layout.conversations,container,false);
  serverId=super.getActivity().getIntent().getExtras().getInt("String_Node_Str");
  server=Hermes.getInstance().getServerById(serverId);
  Settings settings=new Settings(super.getActivity());
  if (server == null) {
    super.getActivity().finish();
  }
  super.getActivity().setTitle(server.getTitle());
  boolean isLandscape=(getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE);
  EditText input=(EditText)llLayout.findViewById(R.id.input);
  input.setOnKeyListener(inputKeyListener);
  pager=(ViewPager)llLayout.findViewById(R.id.pager);
  pagerAdapter=new ConversationPagerAdapter(getActivity(),server);
  pager.setAdapter(pagerAdapter);
  final float density=getResources().getDisplayMetrics().density;
  indicator=(ConversationIndicator)llLayout.findViewById(R.id.titleIndicator);
  indicator.setServer(server);
  indicator.setViewPager(pager);
  indicator.setFooterColor(Color.parseColor("String_Node_Str"));
  indicator.setFooterLineHeight(1);
  indicator.setPadding(10,10,10,10);
  indicator.setFooterIndicatorStyle(IndicatorStyle.None);
  indicator.setSelectedColor(0xFF222222);
  indicator.setSelectedBold(false);
  indicator.setBackgroundColor(Color.parseColor("String_Node_Str"));
  historySize=settings.getHistorySize();
  if (server.getStatus() == Status.PRE_CONNECTING) {
    server.clearConversations();
    pagerAdapter.clearConversations();
    server.getConversation(ServerInfo.DEFAULT_NAME).setHistorySize(historySize);
  }
  float fontSize=settings.getFontSize();
  indicator.setTextSize(TypedValue.COMPLEX_UNIT_SP,35);
  input.setTypeface(Typeface.SANS_SERIF);
  Collection<Conversation> mConversations=server.getConversations();
  for (  Conversation conversation : mConversations) {
    if (conversation.getStatus() == Conversation.STATUS_SELECTED) {
      onNewConversation(conversation.getName());
    }
 else {
      createNewConversation(conversation.getName());
    }
  }
  int setInputTypeFlags=0;
  setInputTypeFlags|=InputType.TYPE_TEXT_FLAG_AUTO_CORRECT;
  if (settings.autoCapSentences()) {
    setInputTypeFlags|=InputType.TYPE_TEXT_FLAG_CAP_SENTENCES;
  }
  if (isLandscape && settings.imeExtract()) {
    setInputTypeFlags|=InputType.TYPE_TEXT_VARIATION_SHORT_MESSAGE;
  }
  if (!settings.imeExtract()) {
    input.setImeOptions(input.getImeOptions() | EditorInfo.IME_FLAG_NO_EXTRACT_UI);
  }
  input.setInputType(input.getInputType() | setInputTypeFlags);
  input.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      openSoftKeyboard(v);
    }
  }
);
  scrollback=new Scrollback();
  llLayout.findViewById(R.id.conversationFragment);
  getActivity().getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);
  return llLayout;
}