Buggy code:
public class DataSQLiteDB { public static final String DATABASE_NAME = "PhloggingDB.db" ; private static final int DATABASE_VERSION = 2 ; private static final String PHLOGGING_TABLE = "ImageDescriptions" ; private static final String CREATE_PHLOGGING_TABLE = ( ( ( ( ( ( ( ( ( ( "CREATE<seq2seq4repair_space>TABLE<seq2seq4repair_space>IF<seq2seq4repair_space>NOT<seq2seq4repair_space>EXISTS<seq2seq4repair_space>" + ( DataSQLiteDB . PHLOGGING_TABLE ) ) + "(_id<seq2seq4repair_space>INTEGER<seq2seq4repair_space>PRIMARY<seq2seq4repair_space>KEY<seq2seq4repair_space>AUTOINCREMENT," ) + "title<seq2seq4repair_space>TEXT," ) + "description<seq2seq4repair_space>TEXT," ) + "image_media_id<seq2seq4repair_space>INTEGER,<seq2seq4repair_space>" ) + "secondary_image_media_id<seq2seq4repair_space>INTEGER,<seq2seq4repair_space>" ) + "audio_file_name<seq2seq4repair_space>TEXT," ) + "time<seq2seq4repair_space>REAL,<seq2seq4repair_space>" ) + "location<seq2seq4repair_space>TEXT,<seq2seq4repair_space>" ) + "orientation<seq2seq4repair_space>TEXT" ) + ");" ; private DataSQLiteDB . DatabaseHelper dbHelper ; private SQLiteDatabase theDB ; public DataSQLiteDB ( Context theContext ) { } public void close ( ) { } public boolean addRowData ( ContentValues rowData ) { } public boolean updateRowData ( long rowID , ContentValues rowData ) { } public boolean deleteRowData ( long rowID ) { } public Cursor fetchAllData ( ) { } public Cursor fetchAllData ( String sortColumn ) { } public ContentValues getImageByImageMediaId ( int imageMediaId ) { } public ContentValues getEntryByRowId ( long id ) { } private ContentValues dataFromCursor ( Cursor cursor ) { String [ ] fieldNames ; int index ; ContentValues rowData ; if ( ( cursor != null ) && ( cursor . moveToFirst ( ) ) ) { fieldNames = cursor . getColumnNames ( ) ; rowData = new ContentValues ( ) ; for ( index = 0 ; index < ( fieldNames . length ) ; index ++ ) { if ( fieldNames [ index ] . equals ( "_id" ) ) { rowData . put ( "_id" , cursor . getInt ( index ) ) ; } else if ( fieldNames [ index ] . equals ( "image_media_id" ) ) { rowData . put ( "image_media_id" , cursor . getInt ( index ) ) ; } else if ( fieldNames [ index ] . equals ( "secondary_image_media_id" ) ) { rowData . put ( "secondary_image_media_id" , cursor . getInt ( index ) ) ; } else if ( fieldNames [ index ] . equals ( "title" ) ) { rowData . put ( "title" , cursor . getString ( index ) ) ; } else if ( fieldNames [ index ] . equals ( "description" ) ) { rowData . put ( "description" , cursor . getString ( index ) ) ; } else if ( fieldNames [ index ] . equals ( "audio_file_name" ) ) { <START_BUG> rowData . put ( "audio_file_name" , cursor . getInt ( index ) ) ; <END_BUG> } else if ( fieldNames [ index ] . equals ( "time" ) ) { rowData . put ( "time" , cursor . getLong ( index ) ) ; } else if ( fieldNames [ index ] . equals ( "location" ) ) { rowData . put ( "location" , cursor . getString ( index ) ) ; } else if ( fieldNames [ index ] . equals ( "orientation" ) ) { rowData . put ( "orientation" , cursor . getString ( index ) ) ; } } return rowData ; } else { return null ; } } private static class DatabaseHelper extends SQLiteOpenHelper { private Context userContext ; public DatabaseHelper ( Context context ) { } public void onCreate ( SQLiteDatabase db ) { } @ Override public void onOpen ( SQLiteDatabase db ) { } public void onUpgrade ( SQLiteDatabase db , int oldVersion , int newVersion ) { } } }

Fix:
rowData . put ( "audio_file_name" , cursor . getString ( index ) ) ;