Buggy code:
public class AddClaimActivity extends Activity { private static final String FILENAME = "save.sav" ; private ClaimListModel Claims ; private ClaimModel newClaim ; final Context context = this ; private String newClaimName ; private int startDateDay ; private int startDateMonth ; private int startDateYear ; private int endDateDay ; private int endDateMonth ; private int endDateYear ; private String status ; private String description ; private EditText editTextClaimName ; private EditText editTextClaimStartDateDay ; private EditText editTextClaimStartDateMonth ; private EditText editTextClaimStartDateYear ; private EditText editTextClaimEndDateDay ; private EditText editTextClaimEndDateMonth ; private EditText editTextClaimEndDateYear ; private EditText editTextClaimDescription ; private Spinner spinnerStatus ; private Button buttonNewClaimDone ; private Button buttonNewClaimCancle ; @ Override protected void onCreate ( Bundle savedInstanceState ) { } public void addListenerOnSpinnerItemSelection ( ) { } @ Override protected void onStart ( ) { super . onStart ( ) ; Claims = this . loadFromFile ( ) ; editTextClaimName . setText ( newClaimName ) ; buttonNewClaimDone . setOnClickListener ( new View . OnClickListener ( ) { @ Override public void onClick ( View v ) { String t1 = editTextClaimStartDateDay . getText ( ) . toString ( ) ; String t2 = editTextClaimStartDateMonth . getText ( ) . toString ( ) ; String t3 = editTextClaimStartDateYear . getText ( ) . toString ( ) ; String t4 = editTextClaimEndDateDay . getText ( ) . toString ( ) ; String t5 = editTextClaimEndDateMonth . getText ( ) . toString ( ) ; String t6 = editTextClaimEndDateYear . getText ( ) . toString ( ) ; if ( ( ( ( ( ( t1 . equalsIgnoreCase ( "" ) ) || ( t2 . equalsIgnoreCase ( "" ) ) ) || ( t3 . equalsIgnoreCase ( "" ) ) ) || ( t4 . equalsIgnoreCase ( "" ) ) ) || ( t5 . equalsIgnoreCase ( "" ) ) ) || ( t6 . equalsIgnoreCase ( "" ) ) ) { <START_BUG> Toast . makeText ( getApplicationContext ( ) , "Emput<seq2seq4repair_space>input" , LENGTH_LONG ) . show ( ) ; <END_BUG> } else { Intent intentDone = new Intent ( ) ; newClaimName = editTextClaimName . getText ( ) . toString ( ) ; startDateDay = Integer . parseInt ( editTextClaimStartDateDay . getText ( ) . toString ( ) ) ; startDateMonth = Integer . parseInt ( editTextClaimStartDateMonth . getText ( ) . toString ( ) ) ; startDateYear = Integer . parseInt ( editTextClaimStartDateYear . getText ( ) . toString ( ) ) ; endDateDay = Integer . parseInt ( editTextClaimEndDateDay . getText ( ) . toString ( ) ) ; endDateMonth = Integer . parseInt ( editTextClaimEndDateMonth . getText ( ) . toString ( ) ) ; endDateYear = Integer . parseInt ( editTextClaimEndDateYear . getText ( ) . toString ( ) ) ; status = String . valueOf ( spinnerStatus . getSelectedItem ( ) ) ; description = editTextClaimDescription . getText ( ) . toString ( ) ; newClaim = new ClaimModel ( newClaimName ) ; newClaim . setDescription ( description ) ; Calendar startDate = Calendar . getInstance ( ) ; startDate . set ( startDateYear , ( ( startDateMonth ) - 1 ) , startDateDay ) ; newClaim . setStartDate ( startDate ) ; Calendar endDate = Calendar . getInstance ( ) ; endDate . set ( endDateYear , ( ( endDateMonth ) - 1 ) , endDateDay ) ; newClaim . setEndDate ( endDate ) ; newClaim . setStatus ( status ) ; newClaim . setDescription ( description ) ; Claims . addClaim ( newClaim ) ; saveInFile ( ) ; intentDone . setClass ( AddClaimActivity . this , MainActivity . class ) ; intentDone . setFlags ( FLAG_ACTIVITY_CLEAR_TOP ) ; AddClaimActivity . this . startActivity ( intentDone ) ; } } } ) ; buttonNewClaimCancle . setOnClickListener ( new View . OnClickListener ( ) { @ Override public void onClick ( View v ) { AlertDialog . Builder ADB = new AlertDialog . Builder ( context ) ; ADB . setTitle ( "Exit" ) ; ADB . setMessage ( "Are<seq2seq4repair_space>you<seq2seq4repair_space>sure<seq2seq4repair_space>you<seq2seq4repair_space>want<seq2seq4repair_space>to<seq2seq4repair_space>exit<seq2seq4repair_space>without<seq2seq4repair_space>saving?" ) ; ADB . setNegativeButton ( no , null ) ; ADB . setPositiveButton ( yes , new OnClickListener ( ) { public void onClick ( DialogInterface arg0 , int arg1 ) { Intent intentBackPressed = new Intent ( ) ; intentBackPressed . setFlags ( FLAG_ACTIVITY_CLEAR_TOP ) ; intentBackPressed . setClass ( AddClaimActivity . this , MainActivity . class ) ; AddClaimActivity . this . startActivity ( intentBackPressed ) ; } } ) . create ( ) . show ( ) ; } } ) ; } @ Override public boolean onCreateOptionsMenu ( Menu menu ) { } @ Override public boolean onOptionsItemSelected ( MenuItem item ) { } private ClaimListModel loadFromFile ( ) { } private void saveInFile ( ) { } @ Override public void onBackPressed ( ) { } }

Fix:
Toast . makeText ( getApplicationContext ( ) , "Empty<seq2seq4repair_space>input" , LENGTH_LONG ) . show ( ) ;