Buggy code:
public class TeamInfoDb extends SQLiteOpenHelper { public static final String KEY_ROWID = "_id" ; public static final String KEY_LASTMOD = "_lastMod" ; public static final String KEY_TEAM = "team" ; public static final String KEY_ORIENTATION = "orientation" ; public static final String KEY_NUMWHEELS = "numWheels" ; public static final String KEY_WHEELTYPES = "wheelTypes" ; public static final String KEY_DEADWHEEL = "deadWheel" ; public static final String KEY_WHEEL1TYPE = "wheel1Type" ; public static final String KEY_WHEEL1DIAMETER = "wheel1Diameter" ; public static final String KEY_WHEEL2TYPE = "wheel2Type" ; public static final String KEY_WHEEL2DIAMETER = "wheel2Diameter" ; public static final String KEY_DEADWHEELTYPE = "deadWheelType" ; public static final String KEY_TURRET = "turret" ; public static final String KEY_TRACKING = "tracking" ; public static final String KEY_FENDER = "fender" ; public static final String KEY_KEY = "key" ; public static final String KEY_BARRIER = "barrier" ; public static final String KEY_CLIMB = "climb" ; public static final String KEY_NOTES = "notes" ; private static final String TAG = "TeamInfoDb" ; private SQLiteDatabase mDb ; private static final String DATABASE_CREATE = "create<seq2seq4repair_space>table<seq2seq4repair_space>teams<seq2seq4repair_space>(_id<seq2seq4repair_space>integer<seq2seq4repair_space>primary<seq2seq4repair_space>key<seq2seq4repair_space>autoincrement,<seq2seq4repair_space>" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "_lastMod<seq2seq4repair_space>datetime<seq2seq4repair_space>not<seq2seq4repair_space>null,<seq2seq4repair_space>" + "team<seq2seq4repair_space>int<seq2seq4repair_space>not<seq2seq4repair_space>null<seq2seq4repair_space>unique,<seq2seq4repair_space>" ) + "orientation<seq2seq4repair_space>int,<seq2seq4repair_space>" ) + "numWheels<seq2seq4repair_space>int,<seq2seq4repair_space>" ) + "wheelTypes<seq2seq4repair_space>int,<seq2seq4repair_space>" ) + "deadWheel<seq2seq4repair_space>int,<seq2seq4repair_space>" ) + "wheel1Type<seq2seq4repair_space>int,<seq2seq4repair_space>" ) + "wheel1Diameter<seq2seq4repair_space>int,<seq2seq4repair_space>" ) + "wheel2Type<seq2seq4repair_space>int,<seq2seq4repair_space>" ) + "wheel2Diameter<seq2seq4repair_space>int,<seq2seq4repair_space>" ) + "deadWheelType<seq2seq4repair_space>int,<seq2seq4repair_space>" ) + "turret<seq2seq4repair_space>int,<seq2seq4repair_space>" ) + "tracking<seq2seq4repair_space>int,<seq2seq4repair_space>" ) + "fender<seq2seq4repair_space>int,<seq2seq4repair_space>" ) + "key<seq2seq4repair_space>int,<seq2seq4repair_space>" ) + "barrier<seq2seq4repair_space>int,<seq2seq4repair_space>" ) + "climb<seq2seq4repair_space>int,<seq2seq4repair_space>" ) + "notes<seq2seq4repair_space>text<seq2seq4repair_space>);" ) ; private static final String DATABASE_NAME = "frcscoutingdb" ; private static final String DATABASE_TABLE = "teams" ; private static final int DATABASE_VERSION = 1 ; public TeamInfoDb ( Context context , boolean writable ) { } public TeamInfoDb ( Context context ) { } public void onCreate ( SQLiteDatabase db ) { } public void onUpgrade ( SQLiteDatabase db , int oldVersion , int newVersion ) { } public void close ( ) { } public void reset ( ) { } public long createTeam ( int team , int orientation , int numWheels , int wheelTypes , boolean deadWheel , int wheel1Type , int wheel1Diameter , int wheel2Type , int wheel2Diameter , int deadWheelType , boolean turret , boolean tracking , boolean fender , boolean key , boolean barrier , boolean climb , String notes ) { ContentValues initialValues = new ContentValues ( ) ; <START_BUG> initialValues . put ( TeamInfoDb . KEY_LASTMOD , new Date ( ) . getTime ( ) ) ; <END_BUG> initialValues . put ( TeamInfoDb . KEY_TEAM , team ) ; initialValues . put ( TeamInfoDb . KEY_ORIENTATION , orientation ) ; initialValues . put ( TeamInfoDb . KEY_NUMWHEELS , numWheels ) ; initialValues . put ( TeamInfoDb . KEY_WHEELTYPES , wheelTypes ) ; initialValues . put ( TeamInfoDb . KEY_DEADWHEEL , deadWheel ) ; initialValues . put ( TeamInfoDb . KEY_WHEEL1TYPE , wheel1Type ) ; initialValues . put ( TeamInfoDb . KEY_WHEEL1DIAMETER , wheel1Diameter ) ; initialValues . put ( TeamInfoDb . KEY_WHEEL2TYPE , wheel2Type ) ; initialValues . put ( TeamInfoDb . KEY_WHEEL2DIAMETER , wheel2Diameter ) ; initialValues . put ( TeamInfoDb . KEY_DEADWHEELTYPE , deadWheelType ) ; initialValues . put ( TeamInfoDb . KEY_TURRET , turret ) ; initialValues . put ( TeamInfoDb . KEY_TRACKING , tracking ) ; initialValues . put ( TeamInfoDb . KEY_FENDER , fender ) ; initialValues . put ( TeamInfoDb . KEY_KEY , key ) ; initialValues . put ( TeamInfoDb . KEY_BARRIER , barrier ) ; initialValues . put ( TeamInfoDb . KEY_CLIMB , climb ) ; initialValues . put ( TeamInfoDb . KEY_NOTES , notes ) ; return mDb . insert ( TeamInfoDb . DATABASE_TABLE , null , initialValues ) ; } public boolean deleteTeam ( long rowId ) { } public Cursor fetchAllTeams ( ) { } public Cursor fetchTeam ( int team ) throws SQLException { } public Cursor fetchTeamNums ( long rowId ) throws SQLException { } public boolean updateTeam ( int team , int orientation , int numWheels , int wheelTypes , boolean deadWheel , int wheel1Type , int wheel1Diameter , int wheel2Type , int wheel2Diameter , int deadWheelType , boolean turret , boolean tracking , boolean fender , boolean key , boolean barrier , boolean climb , String notes ) { } No newline ; at end ; of file ; }

Fix:
initialValues . put ( TeamInfoDb . KEY_LASTMOD , 0 ) ;