Buggy code:
public class WeatherDbHelper extends SQLiteOpenHelper { private static final String DATABASE_NAME = "weather.db" ; private static final int DATABASE_VERSION = 1 ; public WeatherDbHelper ( Context context ) { } @ Override public void onCreate ( SQLiteDatabase db ) { final String SQL_CREATE_LOCATION_TABLE = ( ( ( ( ( ( ( ( ( ( ( "CREATE<seq2seq4repair_space>TABLE<seq2seq4repair_space>" + ( LocationEntry . TABLE_NAME ) ) + "<seq2seq4repair_space>(" ) + ( LocationEntry . _ID ) ) + "<seq2seq4repair_space>INTEGER<seq2seq4repair_space>PRIMARY<seq2seq4repair_space>KEY<seq2seq4repair_space>AUTOINCREMENT,<seq2seq4repair_space>" ) + ( LocationEntry . COLUMN_CITY_NAME ) ) + "<seq2seq4repair_space>TEXT<seq2seq4repair_space>UNIQUE<seq2seq4repair_space>NOT<seq2seq4repair_space>NULL,<seq2seq4repair_space>" ) + ( LocationEntry . COLUMN_LOC_SETTING ) ) + "<seq2seq4repair_space>TEXT<seq2seq4repair_space>NOT<seq2seq4repair_space>NULL,<seq2seq4repair_space>" ) + ( LocationEntry . COLUMN_CORD_LANG ) ) + "<seq2seq4repair_space>REAL<seq2seq4repair_space>NOT<seq2seq4repair_space>NULL,<seq2seq4repair_space>" ) + ( LocationEntry . COLUMN_CORD_LAT ) ) + "<seq2seq4repair_space>REAL<seq2seq4repair_space>NOT<seq2seq4repair_space>NULL<seq2seq4repair_space>);<seq2seq4repair_space>" ; <START_BUG> final String SQL_CREATE_WEATHER_TABLE = ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "CREATE<seq2seq4repair_space>TABLE<seq2seq4repair_space>" + ( WeatherEntry . TABLE_NAME ) ) + "<seq2seq4repair_space>(" ) + ( WeatherEntry . _ID ) ) + "<seq2seq4repair_space>INTEGER<seq2seq4repair_space>PRIMARY<seq2seq4repair_space>KEY<seq2seq4repair_space>AUTOINCREMENT,<seq2seq4repair_space>" ) + ( WeatherEntry . COLUMN_LOC_KEY ) ) + "<seq2seq4repair_space>INTEGER<seq2seq4repair_space>NOT<seq2seq4repair_space>NULL,<seq2seq4repair_space>" ) + ( WeatherEntry . COLUMN_DATE_TEXT ) ) + "<seq2seq4repair_space>INTEGER<seq2seq4repair_space>NOT<seq2seq4repair_space>NULL,<seq2seq4repair_space>" ) + ( WeatherEntry . COLUMN_SHORT_DESC ) ) + "<seq2seq4repair_space>TEXT<seq2seq4repair_space>NOT<seq2seq4repair_space>NULL,<seq2seq4repair_space>" ) + ( WeatherEntry . COLUMN_MAX_TEMP ) ) + "<seq2seq4repair_space>REAL<seq2seq4repair_space>NOT<seq2seq4repair_space>NULL,<seq2seq4repair_space>" ) + ( WeatherEntry . COLUMN_MIN_TEMP ) ) + "<seq2seq4repair_space>REAL<seq2seq4repair_space>NOT<seq2seq4repair_space>NULL,<seq2seq4repair_space>" ) + ( WeatherEntry . COLUMN_HUMIDITY ) ) + "<seq2seq4repair_space>REAL<seq2seq4repair_space>NOT<seq2seq4repair_space>NULL,<seq2seq4repair_space>" ) + ( WeatherEntry . COLUMN_PRESSURE ) ) + "<seq2seq4repair_space>REAL<seq2seq4repair_space>NOT<seq2seq4repair_space>NULL,<seq2seq4repair_space>" ) + ( WeatherEntry . COLUMN_WIND_SPEED ) ) + "<seq2seq4repair_space>REAL<seq2seq4repair_space>NOT<seq2seq4repair_space>NULL,<seq2seq4repair_space>" ) + ( WeatherEntry . COLUMN_DEGREES ) ) + "<seq2seq4repair_space>REAL<seq2seq4repair_space>NOT<seq2seq4repair_space>NULL,<seq2seq4repair_space>" ) + "<seq2seq4repair_space>FOREIGN<seq2seq4repair_space>KEY<seq2seq4repair_space>(" ) + ( WeatherEntry . COLUMN_LOC_KEY ) ) + "<seq2seq4repair_space>)<seq2seq4repair_space>REFERENCES<seq2seq4repair_space>" ) + ( LocationEntry . TABLE_NAME ) ) + "<seq2seq4repair_space>(" ) + ( LocationEntry . _ID ) ) + "<seq2seq4repair_space>),<seq2seq4repair_space>" ) + "<seq2seq4repair_space>UNIQUE<seq2seq4repair_space>(" ) + ( WeatherEntry . COLUMN_DATE_TEXT ) ) + ",<seq2seq4repair_space>" ) + ( WeatherEntry . COLUMN_LOC_KEY ) ) + "<seq2seq4repair_space>)<seq2seq4repair_space>ON<seq2seq4repair_space>CONFLICT<seq2seq4repair_space>REPLACE);" ; <END_BUG> db . execSQL ( SQL_CREATE_LOCATION_TABLE ) ; db . execSQL ( SQL_CREATE_WEATHER_TABLE ) ; } @ Override public void onUpgrade ( SQLiteDatabase db , int oldVersion , int newVersion ) { } }

Fix:
final String SQL_CREATE_WEATHER_TABLE = ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "CREATE<seq2seq4repair_space>TABLE<seq2seq4repair_space>" + ( WeatherEntry . TABLE_NAME ) ) + "<seq2seq4repair_space>(" ) + ( WeatherEntry . _ID ) ) + "<seq2seq4repair_space>INTEGER<seq2seq4repair_space>PRIMARY<seq2seq4repair_space>KEY<seq2seq4repair_space>AUTOINCREMENT,<seq2seq4repair_space>" ) + ( WeatherEntry . COLUMN_LOC_KEY ) ) + "<seq2seq4repair_space>INTEGER<seq2seq4repair_space>NOT<seq2seq4repair_space>NULL,<seq2seq4repair_space>" ) + ( WeatherEntry . COLUMN_DATE_TEXT ) ) + "<seq2seq4repair_space>INTEGER<seq2seq4repair_space>NOT<seq2seq4repair_space>NULL,<seq2seq4repair_space>" ) + ( WeatherEntry . COLUMN_SHORT_DESC ) ) + "<seq2seq4repair_space>TEXT<seq2seq4repair_space>NOT<seq2seq4repair_space>NULL,<seq2seq4repair_space>" ) + ( WeatherEntry . COLUMN_WEATHER_ID ) ) + "<seq2seq4repair_space>INTEGER<seq2seq4repair_space>NOT<seq2seq4repair_space>NULL,<seq2seq4repair_space>" ) + ( WeatherEntry . COLUMN_MAX_TEMP ) ) + "<seq2seq4repair_space>REAL<seq2seq4repair_space>NOT<seq2seq4repair_space>NULL,<seq2seq4repair_space>" ) + ( WeatherEntry . COLUMN_MIN_TEMP ) ) + "<seq2seq4repair_space>REAL<seq2seq4repair_space>NOT<seq2seq4repair_space>NULL,<seq2seq4repair_space>" ) + ( WeatherEntry . COLUMN_HUMIDITY ) ) + "<seq2seq4repair_space>REAL<seq2seq4repair_space>NOT<seq2seq4repair_space>NULL,<seq2seq4repair_space>" ) + ( WeatherEntry . COLUMN_PRESSURE ) ) + "<seq2seq4repair_space>REAL<seq2seq4repair_space>NOT<seq2seq4repair_space>NULL,<seq2seq4repair_space>" ) + ( WeatherEntry . COLUMN_WIND_SPEED ) ) + "<seq2seq4repair_space>REAL<seq2seq4repair_space>NOT<seq2seq4repair_space>NULL,<seq2seq4repair_space>" ) + ( WeatherEntry . COLUMN_DEGREES ) ) + "<seq2seq4repair_space>REAL<seq2seq4repair_space>NOT<seq2seq4repair_space>NULL,<seq2seq4repair_space>" ) + "<seq2seq4repair_space>FOREIGN<seq2seq4repair_space>KEY<seq2seq4repair_space>(" ) + ( WeatherEntry . COLUMN_LOC_KEY ) ) + "<seq2seq4repair_space>)<seq2seq4repair_space>REFERENCES<seq2seq4repair_space>" ) + ( LocationEntry . TABLE_NAME ) ) + "<seq2seq4repair_space>(" ) + ( LocationEntry . _ID ) ) + "<seq2seq4repair_space>),<seq2seq4repair_space>" ) + "<seq2seq4repair_space>UNIQUE<seq2seq4repair_space>(" ) + ( WeatherEntry . COLUMN_DATE_TEXT ) ) + ",<seq2seq4repair_space>" ) + ( WeatherEntry . COLUMN_LOC_KEY ) ) + "<seq2seq4repair_space>)<seq2seq4repair_space>ON<seq2seq4repair_space>CONFLICT<seq2seq4repair_space>REPLACE);" ;