title: IllegalArgumentException: You must supply an SQL string
body: <p>when I try to request informations from my sqlite database I get this error:</p>
  
  <pre><code>07-19 02:17:10.835: E/AndroidRuntime(689): java.lang.RuntimeException: Unable to start activity ComponentInfo{de.bodprod.dkr/de.bodprod.dkr.MediNotmediList}: java.lang.IllegalArgumentException: You must supply an SQL string
  </code></pre>
  
  <p>My Database Request:</p>
  
  <pre><code>public ArrayList&lt;HashMap&lt;String,Object&gt;&gt; getAllNotmedis(){
      ArrayList&lt;HashMap&lt;String,Object&gt;&gt; notmediList = new ArrayList&lt;HashMap&lt;String,Object&gt;&gt;();
      String selectQuery = "SELECT medi_id, medi_wirk, medi_handel FROM dkr_medi_liste ORDER BY medi_wirk";
      Log.d("ALLNOTMEDIS",selectQuery);
      SQLiteDatabase db = this.getWritableDatabase();
      Cursor cursor = db.rawQuery(selectQuery, null);
      HashMap&lt;String , Object&gt; notmedi_item;
      if (cursor.moveToFirst()) {
          do {
              notmedi_item = new HashMap&lt;String, Object&gt;();
              notmedi_item.put("sql_id", Integer.parseInt(cursor.getString(0)));
              notmedi_item.put("wirk", cursor.getString(1));
              notmedi_item.put("handel", unescape(cursor.getString(2)));
              notmediList.add(notmedi_item);
          } while (cursor.moveToNext());
      }
      cursor.close();
      db.close();
      return notmediList;
  } 
  </code></pre>
  
  <p>This line make the error:</p>
  
  <pre><code>    SQLiteDatabase db = this.getWritableDatabase();
  </code></pre>
  
  <p>Why I become this error? The database exist and is filled up with data...</p>