title: java.lang.IllegalStateException: Couldn't read row 1, col 4 from CursorWindow
body: <p>I'm trying to get values from SQLite Database and adding them to an ArrayList. I don't know what the problem is. I can post more code if there is no problem in these code parts.</p>
  
  <pre><code>@Override
  public void onCreate(SQLiteDatabase db) {
  
      String sql ="create table tablo(id integer primary key,tipi text,turu text, miktar text, notlar text ) ";
      db.execSQL(sql);
  
  
  
   public List&lt;String&gt; listAll(){
  
  
      List&lt;String&gt;liste = new ArrayList&lt;String&gt;();
      Cursor c = db.rawQuery("select * from tablo",null);
      c.moveToFirst();
  
      while (c.moveToNext()){
          int id = c.getInt(0);
          String tipi=c.getString(1);
          String turu = c.getString(2);
          String miktar = c.getString(3);
          String notlar =c.getString(4);
  
          Data d = new Data(id,tipi,turu,miktar,notlar);
          String toSt =d.toString();
          liste.add(toSt);
      }
  </code></pre>