Buggy code:
public class LaunchActivity extends Activity implements View . OnClickListener , LoadAllData . LoadAllDataCallbacks { public static final String ALL_DATA_LOADED = "all_data_loaded" ; public static final String REDOWNLOAD = "redownload" ; public static final String DATA_TO_REDOWNLOAD = "redownload_data" ; public static final String APP_VERSION_KEY = "app_version" ; private static final String CURRENT_LOADING_MESSAGE_KEY = "current_loading_message" ; protected DisableSwipeViewPager viewPager ; private TextView loadingMessage ; private String currentLoadingMessage = "" ; private LaunchActivity . LoadAllDataTaskFragment loadFragment ; private static final String LOAD_FRAGMENT_TAG = "loadFragment" ; @ Override protected void onCreate ( Bundle savedInstanceState ) { } @ Override protected void onSaveInstanceState ( Bundle outState ) { } private boolean checkDataRedownload ( ) { SharedPreferences prefs = PreferenceManager . getDefaultSharedPreferences ( this ) ; int lastVersion = prefs . getInt ( LaunchActivity . APP_VERSION_KEY , ( - 1 ) ) ; if ( ( lastVersion == ( - 1 ) ) && ( ! ( prefs . getBoolean ( LaunchActivity . ALL_DATA_LOADED , false ) ) ) ) { return false ; } if ( getIntent ( ) . getBooleanExtra ( LaunchActivity . REDOWNLOAD , false ) ) { return true ; } boolean redownload = false ; Log . d ( LOG_TAG , ( ( ( ( ( "Last<seq2seq4repair_space>version:<seq2seq4repair_space>" + lastVersion ) + "//" ) + ( BuildConfig . VERSION_CODE ) ) + "<seq2seq4repair_space>" ) + ( prefs . contains ( LaunchActivity . APP_VERSION_KEY ) ) ) ) ; if ( ( prefs . contains ( LaunchActivity . APP_VERSION_KEY ) ) && ( lastVersion < ( BuildConfig . VERSION_CODE ) ) ) { while ( lastVersion <= ( BuildConfig . VERSION_CODE ) ) { Log . v ( LOG_TAG , ( "Updating<seq2seq4repair_space>app<seq2seq4repair_space>to<seq2seq4repair_space>version<seq2seq4repair_space>" + lastVersion ) ) ; switch ( lastVersion ) { case 14 : redownload = true ; getIntent ( ) . putExtra ( LaunchActivity . DATA_TO_REDOWNLOAD , new short [ ] { LaunchActivity . LoadAllDataTaskFragment . LOAD_EVENTS , LaunchActivity . LoadAllDataTaskFragment . LOAD_DISTRICTS } ) ; getIntent ( ) . putExtra ( LaunchActivity . REDOWNLOAD , true ) ; break ; case 16 : redownload = true ; getIntent ( ) . putExtra ( LaunchActivity . DATA_TO_REDOWNLOAD , new short [ ] { LaunchActivity . LoadAllDataTaskFragment . LOAD_EVENTS } ) ; getIntent ( ) . putExtra ( LaunchActivity . REDOWNLOAD , true ) ; break ; case 21 : redownload = true ; getIntent ( ) . putExtra ( LaunchActivity . DATA_TO_REDOWNLOAD , new short [ ] { LaunchActivity . LoadAllDataTaskFragment . LOAD_EVENTS } ) ; getIntent ( ) . putExtra ( LaunchActivity . REDOWNLOAD , true ) ; break ; <START_BUG> case 42 : <END_BUG> Database . getInstance ( this ) . getResponseTable ( ) . deleteResponse ( "http:////www.thebluealliance.com//api//v2//events//2015" ) ; break ; default : break ; } lastVersion ++ ; } prefs . edit ( ) . putInt ( LaunchActivity . APP_VERSION_KEY , VERSION_CODE ) . apply ( ) ; } return redownload ; } private void goToHome ( ) { } private void authenticate ( ) { } @ Override public void onClick ( View view ) { } private void beginLoadingIfConnected ( ) { } private void beginLoading ( ) { } public void errorLoadingData ( final String stacktrace ) { } public void connectionLost ( ) { } public void loadingFinished ( ) { } public void onProgressUpdate ( LoadAllData . LoadProgressInfo info ) { } private void processNfcUri ( String uri ) { } public static class LoadAllDataTaskFragment extends Fragment implements LoadAllData . LoadAllDataCallbacks { public static final String DATA_TO_LOAD = "data_to_load" ; public static final String REDOWNLOAD = "redownload" ; public static final short LOAD_TEAMS = 0 ; public static final short LOAD_EVENTS = 1 ; public static final short LOAD_DISTRICTS = 2 ; LoadAllDataCallbacks callback ; private LoadAllData task ; private Short [ ] dataToLoad ; @ Override public void onAttach ( Activity activity ) { } public void cancelTask ( ) { } @ Override public void onProgressUpdate ( LoadAllData . LoadProgressInfo info ) { } } }

Fix:
case 43 :