title: What could be the cause of "java.lang.IllegalStateException: get field slot from row 0 col 0 failed"
body: <p>I have an SQL query running on an 'sqlite' database that is throwing this exception: "java.lang.IllegalStateException: get field slot from row 0 col 0 failed" when I call:</p>
  
  <pre><code>db.rawQuery( "SELECT data FROM session_data WHERE session_id = ?", new String[] { String.format("%d", session_id) } );
  if (!cursor.moveToFirst()) return;
  bytes[] bytes = cursor.getBlob(0);
  </code></pre>
  
  <p>The column exists, and if I log in using <code>adb shell sqlite3 /path/to/database.db</code> I can successfully execute the same query.</p>
  
  <p>The resulting cursor shows that there is 1 row selected with 1 column whose name is "data". The size of the blob is about 1.5 MB - could that be it? I have verified that <code>cursor.GetColumnIndex("data")</code> returns 0, so the column exists.</p>
  
  <p>This is running on Android 2.1 SDK. Any ideas?</p>