Buggy code:
public class TextInputActivity extends Activity implements DialogInterface . OnClickListener { Activity activity ; @ Override protected void onCreate ( Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; setContentView ( activity_text_input ) ; activity = this ; final String strCardAttribute ; final Process process ; final EditText te_text = ( ( EditText ) ( this . findViewById ( activity_input_text_edittext ) ) ) ; Bundle args = getIntent ( ) . getExtras ( ) ; if ( args != null ) { strCardAttribute = args . getString ( "CardAttrib" ) ; if ( strCardAttribute == null ) { showAlert ( "General<seq2seq4repair_space>error:<seq2seq4repair_space>connection<seq2seq4repair_space>to<seq2seq4repair_space>card<seq2seq4repair_space>is<seq2seq4repair_space>missing!" ) ; this . finish ( ) ; } else { process = ProcessManager . getInstance ( ) . getProcess ( args . getString ( "ProcessName" ) ) ; if ( process == null ) { showAlert ( "General<seq2seq4repair_space>error:<seq2seq4repair_space>can't<seq2seq4repair_space>get<seq2seq4repair_space>process!" ) ; this . finish ( ) ; } else { if ( ( args . getString ( "DefaultText" ) ) != null ) { te_text . setText ( args . getString ( "DefaultText" ) ) ; te_text . setSelection ( te_text . getText ( ) . length ( ) ) ; } Button button = ( ( Button ) ( this . findViewById ( activity_input_text_ok ) ) ) ; button . setOnClickListener ( new View . OnClickListener ( ) { @ Override public void onClick ( View v ) { boolean alert = false ; if ( strCardAttribute . equals ( TITLETASK . toString ( ) ) ) process . setTaskCardTitle ( te_text . getText ( ) . toString ( ) ) ; else if ( strCardAttribute . equals ( TITLEMSG . toString ( ) ) ) process . setMessageCardTitle ( te_text . getText ( ) . toString ( ) ) ; else if ( strCardAttribute . equals ( PERSONMSG . toString ( ) ) ) <START_BUG> process . setMessagekCardSenderReceiver ( te_text . getText ( ) . toString ( ) ) ; <END_BUG> else if ( strCardAttribute . equals ( TITLEMAINSTACK . toString ( ) ) ) { if ( ! ( process . setTopCardTitleMainStack ( te_text . getText ( ) . toString ( ) ) ) ) { alert = true ; showAlert ( "Error:<seq2seq4repair_space>You<seq2seq4repair_space>have<seq2seq4repair_space>to<seq2seq4repair_space>enter<seq2seq4repair_space>a<seq2seq4repair_space>valid<seq2seq4repair_space>and<seq2seq4repair_space>unique<seq2seq4repair_space>title!!!" ) ; } } else if ( strCardAttribute . equals ( TITLESIDESTACK . toString ( ) ) ) { if ( ! ( process . setTopCardTitleSideStack ( te_text . getText ( ) . toString ( ) ) ) ) { alert = true ; showAlert ( "Error:<seq2seq4repair_space>You<seq2seq4repair_space>have<seq2seq4repair_space>to<seq2seq4repair_space>enter<seq2seq4repair_space>a<seq2seq4repair_space>valid<seq2seq4repair_space>and<seq2seq4repair_space>unique<seq2seq4repair_space>title!!!" ) ; } } else if ( strCardAttribute . equals ( PERSONMAINSTACK . toString ( ) ) ) { if ( ( te_text . getText ( ) . length ( ) ) == 0 ) { alert = true ; showAlert ( "You<seq2seq4repair_space>have<seq2seq4repair_space>to<seq2seq4repair_space>enter<seq2seq4repair_space>a<seq2seq4repair_space>sender//receiver!!!" ) ; } else { if ( ! ( process . setTopCardSenderReceiverMainStack ( te_text . getText ( ) . toString ( ) ) ) ) showAlert ( "Error:<seq2seq4repair_space>can't<seq2seq4repair_space>set<seq2seq4repair_space>sender//receiver!!!!" ) ; } } else if ( strCardAttribute . equals ( PERSONSIDESTACK . toString ( ) ) ) { if ( ( te_text . getText ( ) . length ( ) ) == 0 ) { alert = true ; showAlert ( "You<seq2seq4repair_space>have<seq2seq4repair_space>to<seq2seq4repair_space>enter<seq2seq4repair_space>a<seq2seq4repair_space>sender//receiver!!!" ) ; } else { if ( ! ( process . setTopCardSenderReceiverSideStack ( te_text . getText ( ) . toString ( ) ) ) ) showAlert ( "Error:<seq2seq4repair_space>can't<seq2seq4repair_space>set<seq2seq4repair_space>sender//receiver!!!!" ) ; } } else if ( strCardAttribute . equals ( USERROLE . toString ( ) ) ) process . setUserRole ( te_text . getText ( ) . toString ( ) ) ; else { alert = true ; showAlert ( "General<seq2seq4repair_space>error:<seq2seq4repair_space>invalid<seq2seq4repair_space>argument!" ) ; } if ( ! alert ) activity . finish ( ) ; } } ) ; button = ( ( Button ) ( this . findViewById ( activity_input_text_cancel ) ) ) ; button . setOnClickListener ( new View . OnClickListener ( ) { @ Override public void onClick ( View v ) { activity . finish ( ) ; } } ) ; } } } else { showAlert ( "General<seq2seq4repair_space>error:<seq2seq4repair_space>arguments<seq2seq4repair_space>are<seq2seq4repair_space>missing!" ) ; this . finish ( ) ; } } private void showAlert ( String msg ) { } @ Override public void onClick ( DialogInterface dialog , int which ) { } }

Fix:
process . setMessageCardSenderReceiver ( te_text . getText ( ) . toString ( ) ) ;