Program: 45321
Project: 45321
Buggy source:
public void translateWord(View view){
  if (!dialog) {
    dialog=true;
    mDialog.setMessage("String_Node_Str");
    mDialog.show();
  }
  new Thread(new Runnable(){
    public void run(){
      try {
        Message msg=Message.obtain();
        Bundle bundle=new Bundle();
        bundle.putString("String_Node_Str","String_Node_Str");
        msg.setData(bundle);
        translationHandler.sendMessage(msg);
        DefaultHttpClient client=new DefaultHttpClient();
        HttpPost post=new HttpPost("String_Node_Str");
        post.addHeader(BasicScheme.authenticate(new UsernamePasswordCredentials("String_Node_Str","String_Node_Str"),"String_Node_Str",false));
        List<NameValuePair> form=new ArrayList<NameValuePair>();
        form.add(new BasicNameValuePair("String_Node_Str",et_Original.getText().toString()));
        post.setEntity(new UrlEncodedFormEntity(form,HTTP.UTF_8));
        ResponseHandler<String> responseHandler=new BasicResponseHandler();
        String responseBody=client.execute(post,responseHandler);
        JSONObject word=new JSONObject(responseBody);
        String translated_word=word.getString("String_Node_Str");
        Message msg_translated=Message.obtain();
        bundle.putString("String_Node_Str",translated_word);
        msg_translated.setData(bundle);
        translationHandler.sendMessage(msg_translated);
      }
 catch (      Exception t) {
        System.out.println(t.toString());
      }
    }
  }
).start();
}

Fixed version (ground truth):
public void translateWord(View view){
  if (!dialog) {
    dialog=true;
    mDialog.setMessage("String_Node_Str");
    mDialog.show();
  }
  new Thread(new Runnable(){
    public void run(){
      try {
        original=et_Original.getText().toString();
        if (original.endsWith("String_Node_Str")) {
          original=original.substring(0,original.length() - 1);
        }
 else         if (original.contains("String_Node_Str")) {
          Message msg=Message.obtain();
          Bundle bundle=new Bundle();
          bundle.putString("String_Node_Str","String_Node_Str");
          bundle.putInt("String_Node_Str",1);
          msg.setData(bundle);
          translationHandler.sendMessage(msg);
        }
 else         if (original.compareTo("String_Node_Str") == 0) {
          Message msg=Message.obtain();
          Bundle bundle=new Bundle();
          bundle.putString("String_Node_Str","String_Node_Str");
          bundle.putInt("String_Node_Str",1);
          msg.setData(bundle);
          translationHandler.sendMessage(msg);
        }
 else {
          Message msg=Message.obtain();
          Bundle bundle=new Bundle();
          bundle.putString("String_Node_Str","String_Node_Str");
          bundle.putInt("String_Node_Str",0);
          msg.setData(bundle);
          translationHandler.sendMessage(msg);
          DefaultHttpClient client=new DefaultHttpClient();
          HttpPost post=new HttpPost("String_Node_Str");
          post.addHeader(BasicScheme.authenticate(new UsernamePasswordCredentials("String_Node_Str","String_Node_Str"),"String_Node_Str",false));
          List<NameValuePair> form=new ArrayList<NameValuePair>();
          form.add(new BasicNameValuePair("String_Node_Str",original));
          post.setEntity(new UrlEncodedFormEntity(form,HTTP.UTF_8));
          ResponseHandler<String> responseHandler=new BasicResponseHandler();
          String responseBody=client.execute(post,responseHandler);
          JSONObject word=new JSONObject(responseBody);
          String translated_word=word.getString("String_Node_Str");
          Message msg_translated=Message.obtain();
          bundle.putString("String_Node_Str",translated_word);
          bundle.putInt("String_Node_Str",0);
          msg_translated.setData(bundle);
          translationHandler.sendMessage(msg_translated);
        }
      }
 catch (      Exception t) {
        System.out.println(t.toString());
      }
    }
  }
).start();
}